-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question - Encrypted key for keypair authentication #248
Comments
I don't think we support it today. |
Thanks @smtakeda. I found below issue on golang: It says that go doesn't have support for parsing encrypted PKCS8 private keys. I think this is the cause I got that error. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is encrypted key supported for keypair authentication?
When I used "https://github.com/snowflakedb/gosnowflake/blob/master/rsa-2048-private-key.p8.enc" for testing purpose using code here "https://github.com/snowflakedb/gosnowflake/blob/master/priv_key_test.go" I am getting below error:
asn1: structure error: tags don't match (16 vs {class:1 tag:19 length:97 isCompound:false}) {optional:false explicit:false application:false private:false defaultValue: tag: stringType:0 timeType:0 set:false omitEmpty:false} pkcs8 @2
The text was updated successfully, but these errors were encountered: