http://www.perlmonks.org?node_id=1026329


in reply to Help verifying RSA PSS signature in Perl with Crypt::RSA and Crypt::RSA::SS::PSS

Where "key.public" contains the device's public key, converted to a decimal string, inserted into the "n" field of the structure that is read/written by Crypt::RSA::Key::Public.

That sounds problematic -- its the kind of detail I like to leave up to the author :)

?? Bug #69376 for Crypt-RSA: Bug in Crypt::RSA::Key::Private::SSH serialize function says try http://search.cpan.org/~danaj/Alt-Crypt-RSA-BigInt-0.05/

?try? Crypt::OpenSSL::RSA - RSA encoding and decoding, using the openSSL libraries

?self contained example ? Re^4: Stumped by Crypt::OpenPGP::Signature->key_id

Sorry I can't help

  • Comment on Re: Help verifying RSA PSS signature in Perl with Crypt::RSA and Crypt::RSA::SS::PSS

Replies are listed 'Best First'.
Re^2: Help verifying RSA PSS signature in Perl with Crypt::RSA and Crypt::RSA::SS::PSS
by cryptques (Novice) on Mar 31, 2013 at 09:38 UTC

    The bug in Crypt::RSA::Key::Private:SSH that you mention is something I had been wondering about (i.e., how to indicate what cipher to use) so I see now that I'm not the only one.

    I don't believe I can use Crypt::OpenSSL::RSA because there's nothing there that explicitly indicates that it supports PSS. However, I'll keep looking.

    Thanks again!