Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
balvenie
16 days agoNew Contributor
1Password for Mac SSH Key Import Bug
Stored SSH private key is different from what I provided
Overview
When importing an SSH private key with a passphrase, 1Password for Mac seems to corrupt the private key during the import process. The public key is (automatically) imported correctly, but the saved private key is different from the original and does not match the public key it's paired with.
Environment
- App: 1Password for Mac
- Version: 8.11.4 (81104027)
Steps to Reproduce
- Click "+ New Item" in the top-right corner of the 1Password desktop app.
- Select "SSH Key" by either typing "ssh" or clicking "Show more".
- Drag a private key file (with a passphrase) into the "Drag a Private Key file here to import" area.
- When prompted, enter the passphrase for the private key and click "Decrypt".
- Click "Save".
- Open the newly created SSH key entry.
- Click the private key field to open the "Export SSH Private Key" window.
- Ensure the "Export format" is set to "OpenSSH" which is the default format.
- Enter the passphrase and click "Copy Unencrypted Key".
- Compare the copied private key with the original private key file on your computer.
Expected Behavior
The private key exported from 1Password should be an exact, uncorrupted copy of the original private key file used for the import.
Actual Behavior
The private key exported from 1Password does not match the original file. While the public key is imported and exported(copied) correctly, the corresponding private key appears to be corrupted during import. This makes the stored private key unusable for authentication.
No RepliesBe the first to reply