Skip to main content
Feb 16, 2022 4:53 PM UTC
Question

1Password 8.6 80600006 fails to load private key file generated by puttygen

1Password fails to load unprotected private key file generated by puttygen
currently only 1 particular file is failing,
other keyfile (protected and unprotected) works fine
fails on windows 10 and mac

the particular key file works fine with the following command
ssh-keygen -y -e -f

1Password version: 8.6 80600006
puttygen version: 0.76
log message:
ERROR 2022-02-17T00:03:06.259 tokio-runtime-worker(ThreadId(5)) [1P:op-ui/src/ssh_key_decryption/mod.rs:107] Error processing imported private key unexpected padding
ERROR 2022-02-17T00:03:53.751 tokio-runtime-worker(ThreadId(4)) [1P:op-ui/src/ssh_key_decryption/mod.rs:107] Error processing imported private key unexpected padding


1Password Version: 8.6
Extension Version: Not Provided
OS Version: Mac OS 10.15 / Windows 10 21h2

4 replies

1P_Tommy
1Password Employee
1Password Employee
Feb 24, 2022 4:16 PM UTC

@ythuang

Thank you for your email submission. Let's continue there as we'll have a direct line of communication going.

ref: UWX-76889-636

Feb 24, 2022 5:47 PM UTC

Same for me.

Steps to reproduce:
* Open PuTTYgen
* Keep default values
* Click the "Generate" button, then follow instructions
* Click the "Conversions" > "Export OpenSSH key (force new file format)" menu item
* Save to file
* In 1Password, import this file as an SSH key
* Get message "Unsupported SSH Key" "The key you chose was not supported.\nSSH key: unexpected padding"

I also tried the "Export OpenSSH key" menu item. It returns similar message but last line says "SSH key: invalid RSA key".

floris_1P
1Password Employee
1Password Employee
Feb 28, 2022 12:59 PM UTC

Which PuTTYgen version are you on?

Jul 12, 2022 3:05 PM UTC

Same here with Puttygen 0.77 and 1P 8.7.3