Open kelson42 opened 5 years ago
I’m not familiar with HSMs and am not sure this would fall within Crypt::Perl’s intent to remain a pure-Perl library.
I am also not sure what you mean by “TBS”. Can you please explain? Crypt::Perl doesn’t currently expose CSR parser logic; there is at least one module on CPAN that does this, I believe in pure Perl.
@FGasper Thx for your quick reply. I mean with TBS, the "To Be Signed" part of the CSR (the BLOB to be send to the signature algorithm).
Ah, OK.
Crypt::PKCS10 may expose that functionality; if not, it wouldn’t be hard to get there via Convert::ASN1 directly,
@FGasper If I make a patch exposing the necessary internals to allow to do so, would you consider reviewing it?
I’d have a look, sure.
It simple impossible to deal with that module if the key material is not directly available?
It seems impossible to:
How would looks like the solution?