We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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:
I don't think we support it today. It would requires a passphrase parameter to decrypt a private key file.
Sorry, something went wrong.
Thanks @smtakeda. I found below issue on golang:
golang/go#8860
It says that go doesn't have support for parsing encrypted PKCS8 private keys. I think this is the cause I got that error.
No branches or pull requests
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: