Archived Forum Post

Index of archived forum posts

Question:

RSASSA-PSS Certs: Invalid PKCS v1.5 PS separator

Jul 25 '17 at 03:11

Hi, I need to use RSASSA-PSS Certs to create sign-files like p7s and I get error at following:

( link text )

ChilkatLog: CreateP7S: DllDate: Jun 23 2015 ChilkatVersion: 9.5.0.51 UnlockPrefix: XXXXX Username: XXXXX Architecture: Little Endian; 32-bit Language: .NET 4.0 VerboseLogging: 0 inFilename: C:C1706291552231.txt outFilename: C:C1706291552231.p7s createDetachedSignature2: createPkcs7Signature: hashAlgorithm: sha1 detachedSignature: 1 numSigningCerts: 1 issuerSerialNum: 41 numAsnBytesToSign: 35 rsaSigLen: 256 buildCertChain: startCertDN: XXXXXXXXXXXX verifyCertSignature: unsignSslSig: Pkcs1_5_decode: Invalid PKCS v1.5 PS separator


Accepted Answer

Try these new builds:

https://chilkatdownload.com/prerelease/chilkatax-9.5.0-x64-177.zip

and

https://chilkatdownload.com/prerelease/chilkatax-9.5.0-win32-176.zip


Answer

Hi,

and thanks for the quick response. The 64bit version is successfully tested.

Can I award points for good support?


Answer

Hi,

I have the same error with:

DllDate: May 25 2017 ChilkatVersion: 9.5.0.68 UnlockPrefix: XXXXXX Architecture: Little Endian; 64-bit Language: .NET 4.0 / x64

If you need, I can provide a RSASSA-PSS Cert.


Answer

Hi,

the same error by signing a eMail (S/MIME)

ChilkatLog: SendEmail: DllDate: May 25 2017 ChilkatVersion: 9.5.0.68 UnlockPrefix: XXXXX Architecture: Little Endian; 64-bit Language: .NET 4.0 / x64 VerboseLogging: 0 sendEmailInner: renderToMime: createEmailForSending: Auto-generating Message-ID sendSigned: 1 sendEncrypted: 1 createSecureEmail: Creating signed and encrypted email digestAlgorithm: sha1 Creating multipart signed email createMultipartSigned: fromEmailAddress: XXXXX Searching for certificate based on email address.. micalg: sha1 createPkcs7Signature: hashAlgorithm: sha1 detachedSignature: 1 numSigningCerts: 1 issuerSerialNum: 3A numAsnBytesToSign: 35 rsaSigLen: 256 buildCertChain: startCertDN: XXXXXXX verifyCertSignature: unsignSslSig: Pkcs1_5_decode: Invalid PKCS v1.5 PS separator


Answer

I found the problem and made the fix. This new build should fix it:

https://chilkatdownload.com/prerelease/chilkatdotnet4-9.5.0-win32-159.zip
https://chilkatdownload.com/prerelease/chilkatdotnet4-9.5.0-x64-160.zip


Answer

Hi,

I have the same error with chilkat ActiveX (ChilkatVersion: 9.5.0.68 Architecture: Little Endian; 32-bit Language: ActiveX)

Is this problem fixed in an ActiveX build?

Thank you