Skip to content
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

Error reading privateKey #39

Closed
ferromir opened this issue Sep 30, 2015 · 2 comments
Closed

Error reading privateKey #39

ferromir opened this issue Sep 30, 2015 · 2 comments

Comments

@ferromir
Copy link

It fails in jira.go example trying to read the privateKey. This is the error:

2015/09/30 11:23:51 asn1: structure error: tags don't match (2 vs {class:0 tag:16 length:13 isCompound:true}) {optional:false explicit:false application:false defaultValue: tag: stringType:0 set:false omitEmpty:false} @5

@mrjones
Copy link
Owner

mrjones commented Oct 4, 2015

Hello!

Unfortunately, I'm not able to reproduce this issue.

If I generate a private key as described in the comments of jira.go file, it is able to parse it successfully.

Could you let me know how you are generating your private key file?

  • Matt

@ferromir
Copy link
Author

It was a corrupted key file. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants