-
Notifications
You must be signed in to change notification settings - Fork 96
Importing GPG Subkeys Fails #301
Comments
I am trying the same and having a similar issue. However instead of Error read key parameters!, I am receiving an "Incorrect Passphrase" error. Are encryption subkeys supported? |
I have this problem too. I have the same subkey setup and followed the same steps as @asayler. My error message is: "Incorrect passphrase!" I'm using the iOS app, GPG 2.0.27, Whiteout 0.25.0 |
there is always the workaround of generating a key with whiteout mail for your address :) but i see where this is coming from. @tanx is this an issue for openpgp.js? |
GPG subkeys should import fine in openpgp.js. My personal key was generated in GPG as well. Does the email address match the user id of the key you are trying to import? |
I think the answer is yes. My wmail.io account is listed as one of the UIDs in my key. Does it matter if its not the primary one?
Here are the commands I used to create the key file:
When I import |
I tried this again tonight with the Chrome client version 1.0.1 and its still an issue. I think the multiple UIDs are at least part of the problem. That would also explain why the OP had issues too. @tanx can you confirm that this should work with a key with multiple UIDs? Also, see email.js line 153 and 165. IMO, these should be two separate error messages. It would help when debugging these types of errors. |
@tanx @kevin559er I believe the specific issue isn't only GPG subkeys, but GPG subkeys where the master private key has been removed. |
My subkeys use the standard offline master setup (after all, that's why one has subkeys), so that may be an issue if openpgp.js lacks support for such a setup as suggested by @davidcroda. I also have multiple UIDs, only one of which matches the whiteout email address, so that may also be an issue as @kevin559er suggests. |
Same here, attempting to import my subkeys into a new account via connected Google OAuth. Do I need to add @wmail.io as a UID to the key? |
Just to add, I would love to give Whiteout a try but this one is blocker to me, as I'm not going to upload my master key. |
I'm having a similar issue, only when I go to import my private key I'm getting an error of "Unknown s2k gnu protection mode." (This is using the web-client.) Here's how my keyring looks:
I believe this might be related to #1598 from Keybase, and also #366 for WhiteOut. |
I also get the same "Incorrect Passphrase" error and have a similar stripped-master-key setup as people above, obviously that's a show stopper so I can't even get into whiteout. I am running my own whiteout instance from git though, so I can test patches if anyone feels like fixing this and providing one. |
I'm having the same issue as described in bug #384 with a standard key that's been working fine with the desktop client. Only causes problems when trying to set up Whiteout Mail on iPhone. |
No luck here either. I only have one UID too.
|
I also tried another method of having different passwords on the master and subkey. That got rejected as well. |
I'm trying to import my existing GPG subkeys into Whiteout (i.e. offline master setup). My GPG keyring is currently setup with two 4096-bit RSA subkeys, one for encryption and one for authentication. The master private key is stored offline and is not present in the keyring:
I'm exporting both the public and private subkeys from gpg for import into Whiteout:
When I try to import the resulting combined key file into Whiteout, however, I get the following error message:
The same thing happens when I try to import just the private key file.
Does Whiteout know how to handle subkeys, or am I doing something else wrong?
I'm using GnuPG 2.0.24 and Whiteout 0.24.0 (Chrome App) with Chrome 40.0.2214.115 (64-bit).
The text was updated successfully, but these errors were encountered: