Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whoa: Error: Could not import subkey 1 #101

Closed
ajdecon opened this issue Mar 5, 2014 · 6 comments
Closed

Whoa: Error: Could not import subkey 1 #101

ajdecon opened this issue Mar 5, 2014 · 6 comments

Comments

@ajdecon
Copy link

ajdecon commented Mar 5, 2014

Attempted to upload my public key and got this error. I did a test and I was able to import this key without problems using GPG and PGP Desktop, so I don't think it's the key....

Public key I attempted to upload can be found at https://ajdecon.s3.amazonaws.com/adam-deconinck.public-key.asc with fingerprint 2FCE 1DAD 9E21 31CB AB4C 8402 8671 78FB 1668 9163.

@ajdecon
Copy link
Author

ajdecon commented Mar 5, 2014

Should note that I used the web based client to upload a key. Have not yet tried command line.

@maxtaco
Copy link
Contributor

maxtaco commented Mar 5, 2014

Thanks for the bug report, I'll take a look tomorrow.

@maxtaco
Copy link
Contributor

maxtaco commented Mar 5, 2014

Oh, I see, it looks like you have an expired subkey in your key that we should be ignoring:

:public sub key packet:
    version 4, algo 1, created 1329023506, expires 0
    pkey[0]: [2048 bits]
    pkey[1]: [17 bits]
:signature packet: algo 1, keyid 867178FB16689163
    version 4, created 1329023506, md5len 0, sigclass 0x18
    digest algo 2, begin of digest 2d 14
    hashed subpkt 2 len 4 (sig created 2012-02-12)
    hashed subpkt 27 len 1 (key flags: 02)
    hashed subpkt 9 len 4 (key expires after 1y0d0h0m)
    subpkt 16 len 8 (issuer key ID 867178FB16689163)
    subpkt 32 len 284 (signature: v4, class 0x19, algo 1, digest algo 2)
    data: [4095 bits]

@ajdecon
Copy link
Author

ajdecon commented Mar 5, 2014

OK, that makes sense.

Yeah, I think it would make more sense to ignore that than throw an error.

@maxtaco
Copy link
Contributor

maxtaco commented Mar 5, 2014

Agreed, I'll fix it tomorrow. Thanks.

@maxtaco
Copy link
Contributor

maxtaco commented Mar 5, 2014

Ok, should be good to know, let me know if not. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants