Thank you very much! That's great.
Regards,
Nils Schween
Werner Koch writes:
> Hi!
>
> On Thu, 19 Sep 2024 09:07, Nils Schween said:
>
>> suffices to import the certificate. It is actually enough to increase
>> the value from 20 to 32. Here is the git diff of my ch
tributes" is
used to indicate that there are no attributes, whereas in the newly
created p12 file they use "No Attributes"
I do not know how gpgsm checks if there are additional attributes. May this
observation also hints into the direction of the error.
Regards,
Nils
Nils Schween
le) problematic pkcs12 file to see what values it actually
> uses.
>
> On 2024-09-20 12:02, Nils Schween wrote:
>>> Given the brittleness of pkcs#12/minip12.c I would really appricate to
>>> have a sample file. But the worst thing which could happen is that the
>&
Koch writes:
> On Thu, 19 Sep 2024 13:42, Nils Schween said:
>
>> If it is necessary, I can try to create a certificate with openssl, that
>> reproduces the error.
>
> Given the brittleness of pkcs#12/minip12.c I would really appricate to
> have a sample file. But the wor
ces the error.
Greetings,
Nils
Werner Koch writes:
> On Thu, 19 Sep 2024 09:07, Nils Schween said:
>> A short follow up: I did some more tests and I found that the change of
>> the length of the salt array in the function 'parse_shrouded_key_bag'
>> suffices to impo
ar salt[20];
+ char salt[32];
size_t saltlen;
char iv[16];
unsigned int iter;
Regards,
Nils
Nils Schween writes:
> Dear gpg community,
>
> I had difficulties to import a p12 certificiate with gpgsm --import
> cert.p12
>
> I got the following error message:
>
> gpgs
sorry for not reporting it directly in bug tracker, but I do not have an
account there.
Please let me, if this change is going to make into one of the next
versions of gpg.
Best regards,
Nils Schween
smime.p7s
Description: S/MIME cryptographic signature
sorry for not reporting it directly in bug tracker, but I do not have an
account there.
Please let me, if this change is going to make into one of the next
versions of gpg.
Best regards,
Nils Schween
smime.p7s
Description: S/MIME cryptographic signature