Skip to content

[Please Help] problem in interrupted signing #281

Closed Answered by MatthiasValvekens
deaw0003 asked this question in Q&A
Discussion options

You must be logged in to vote

I had a quick look; your signed output indeed looks off... The signature data looks like an ECDSA signature (it's way too short to be RSA), but your signer's certificate (according to the ASN.1) is a self-signed cert with an RSA key?

Unless my assessment is wrong, this isn't a bug in pyHanko. Rather, it's a simple consequence of the fact that (for obvious reasons) the signature embedded in the file (in this case by the remote service you're using) needs to be produced using the same key pair as the one to which the certificate was issued ;).

Please contact your service provider's support for information on how to get your hands on the appropriate certificate. I can't really help you with …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@deaw0003
Comment options

@MatthiasValvekens
Comment options

Answer selected by MatthiasValvekens
@deaw0003
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants