Re: Error: Bad length of salt (32) for AES when importing a p12 certificate

2024-09-20 Thread Jakob Bohm via Gnupg-users
Dear Nils, Given the error message in the subject line above, the step to reproduce may be to pass 32 instead of 64 to the openssl command that makes the test certificate. Otherwise, look for a command that can dump out the formatting details of the (non-distributable) problematic pkcs12 fil

Re: Error: Bad length of salt (32) for AES when importing a p12 certificate

2024-09-20 Thread Nils Schween
Thanks for joining the discussion. I changed the value of the salt length to 32. That did not change anything. However, I tried to get some more information. I used gpsm -vv --import for both certificates and a difference appeared: When I am importing the self-created certificate the import proce

Re: Error: Bad length of salt (32) for AES when importing a p12 certificate

2024-09-20 Thread Nils Schween
> 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 > 64 bit salt does not work anymore in the future. It is unlikey, though. I do understand. I tried to create one this morning, but I was not able to