Re: pkcs12 output change between release 1.0.2 and 1.1.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Matt,
Ok, we'll proceed by another way.
Thank you for your fast answer

Kinbd regards,
Patrice.

Matt Caswell a écrit :


On 28/10/2021 10:06, Patrice Guérin wrote:
Hi all,

The output of pkcs12 command differs between release 1.0.2 and 1.1.1.

The command used is
       openssl pkcs12 -passin pass:xxxx -nokeys -in signedcert.bin

In the bag attributes, if the subject (and probably the issuer) contains bytes outside ASCII range, I get a different result and make internal unit test failed in this case.

In release 1.0.2,  bytes are expressed as \xHH
In release 1.1.1, they are expressed as \HH

Is there a way to get compatible results ?

Some of the command line tools offer the ability to set a "-nameopt" flag to control the format of this output. Unfortunately the pkcs12 app is not one of them, so this is not possible.

Matt






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux