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

ythuang
ythuang
Community Member
edited May 2022 in SSH

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

Comments

  • @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

  • rfdonnelly
    rfdonnelly
    Community Member

    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".

  • Which PuTTYgen version are you on?

  • BBBB
    BBBB
    Community Member

    Same here with Puttygen 0.77 and 1P 8.7.3

This discussion has been closed.