Replies: 1 comment 2 replies
-
| 
 Because it couldn't be made consistent between the different algorithms and runtimes. ECDH keys don't map to a single algorithm in WebCryptoAPI, node:crypto KeyObject has no notion of an algorithm. | 
Beta Was this translation helpful? Give feedback.
                  
                    2 replies
                  
                
            
  
    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.
-
You can't import a key without knowing the alg, if you try you get a:
Example:
Is there a reason not to set it?
Beta Was this translation helpful? Give feedback.
All reactions