Skip to main content
February 16, 2022
Question

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

  • February 16, 2022
  • 4 replies
  • 258 views

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
February 24, 2022

@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

February 24, 2022

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
February 28, 2022

Which PuTTYgen version are you on?

July 12, 2022

Same here with Puttygen 0.77 and 1P 8.7.3