Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by cryptques (Novice)
on Mar 31, 2013 at 02:52 UTC ( [id://1026320]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    echo -n hello | 
    openssl dgst -verify pubkey.pem -signature hello.sig -sha1 \
                 -sigopt rsa_padding_mode:pss -sigopt rsa_pss_saltlen:20
    
  2. or download this
    ####
    use Crypt::RSA;
    ...
    
    # $verify returns true, it worked.
    ####
    
  3. or download this
    ####
    
    ...
    $signature = pack ("H*", '03808458…..73E92');   
    
    ####
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1026320]
Approved by Athanasius
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2024-04-16 17:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found