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

SSH RSA Key TagNumberInvalid #10245

Open
jan-klima opened this issue Jan 20, 2025 · 2 comments
Open

SSH RSA Key TagNumberInvalid #10245

jan-klima opened this issue Jan 20, 2025 · 2 comments
Labels

Comments

@jan-klima
Copy link

jan-klima commented Jan 20, 2025

Environment:

Kubuntu 24.10
KDE Plasma
Wayland
Tabby x64 deb installer

Issue:

I went from Tabby 1.0.215 to 1.0.216 and it started there. Also present in 1.0.220. I have a 2 years old RSA key (probably 4096 in strength - not sure atm). Back then it was created with PuttyGen on windows and converted to openssh. Now - this key is working fine with EVERY software out there. Nothing wrong with the key itself it seems. Tabby started throwing error with this key in version 1.0.216 but its all fine in 1.0.215. The error when I try to connect to my VPS:

SSH  Host key fingerprint:
SSH   ecdsa-sha2-nistp256  SHA256: {some key here}
SSH   !  Failed to load private key file:{path here}: Error: Keys(Pkcs1(Pkcs8(Asn1(Error { kind: TagNumberInvalid, position: None }))))

No idea whats happening and why does it work with other software and succesfully authenticates everywhere except tabby 1.0.216 and newer...

@jan-klima
Copy link
Author

wow... guess I am the only one... WHat I dont get is how is it possible that this long key worked OK till tabby changed to New SSH backend in 1.0.216 and suddenly its picky about the key that worked 100% till now and works everywhere else. I dont think its the key problem although it might be slightly different because of the conversion in PuttyGen to OpenSSH...

@Eugeny
Copy link
Owner

Eugeny commented Jan 22, 2025

Could you please generate another key with the exact same settings, make sure it is not working in Tabby, and post it here? Thanks

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

No branches or pull requests

2 participants