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

Add support for OpenSSH #72

Open
gr2m opened this issue Jun 21, 2023 · 1 comment
Open

Add support for OpenSSH #72

gr2m opened this issue Jun 21, 2023 · 1 comment

Comments

@gr2m
Copy link
Owner

gr2m commented Jun 21, 2023

I like storing GitHub App credentials in 1Password as ssh keys. Unfortunately 1Password started to convert all RSA private keys (which is what GitHub provides) into an OpenSSH format which this library cannot handle.

I hope that it can though, I just didn't have time to look into it yet.

If anyone would be so inclined to have a look, I'd very much appreciate it.

Here is an example key from https://coolaj86.com/articles/the-openssh-private-key-format/

-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAaAAAABNlY2RzYS
1zaGEyLW5pc3RwMjU2AAAACG5pc3RwMjU2AAAAQQR9WZPeBSvixkhjQOh9yCXXlEx5CN9M
yh94CJJ1rigf8693gc90HmahIR5oMGHwlqMoS7kKrRw+4KpxqsF7LGvxAAAAqJZtgRuWbY
EbAAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBH1Zk94FK+LGSGNA
6H3IJdeUTHkI30zKH3gIknWuKB/zr3eBz3QeZqEhHmgwYfCWoyhLuQqtHD7gqnGqwXssa/
EAAAAgBzKpRmMyXZ4jnSt3ARz0ul6R79AXAr5gQqDAmoFeEKwAAAAOYWpAYm93aWUubG9j
YWwBAg==
-----END OPENSSH PRIVATE KEY-----
@gr2m
Copy link
Owner Author

gr2m commented Jul 8, 2023

I added at least a helpful error message and updated the README via #74

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

1 participant