Public key "pkcs8" must be PKCS#8 formatted string #616
              
                
                  
                  
                    Answered
                  
                  by
                    panva
                  
              
          
                  
                    
                      motoshifin
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment
-
| 
 | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
      Answer selected by
        motoshifin
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I can already generate a signature w/ rsa key pair in pkcs8 format. Here's the reference
Here's my code to generate the signature
Problem is I can't verify it, error is saying my public key is not in pkcs8 format
TypeError: "pkcs8" must be PKCS#8 formatted stringIs my key pair generation incorrect? How can I import a public key to verify a signature?
Beta Was this translation helpful? Give feedback.
All reactions