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

Script finished, now what? #3

Open
RCasatta opened this issue Dec 19, 2016 · 1 comment
Open

Script finished, now what? #3

RCasatta opened this issue Dec 19, 2016 · 1 comment

Comments

@RCasatta
Copy link
Contributor

RCasatta commented Dec 19, 2016

I run the script and it finished producing result.pub and result.sec
I changed line https://github.com/Valodim/pgp-vanity-keygen/blob/master/vanity.c#L195 to match my UID
if I try to import gpg --import result.pub in my keyring I got:

gpg: key 707FBEEF: no valid user IDs
gpg: this may be caused by a missing self-signature

if I try to import gpg --import result.sec in my keyring I got:

gpg: key 1800EBBE: secret key imported
gpg: key 1800EBBE: no valid user IDs
gpg: this may be caused by a missing self-signature

then I try to self sign gpg -u 1800EBBE --sign result.pub

gpg: key 1800EBBE: secret key without public key - skipped
gpg: skipped "1800EBBE": secret key not available
gpg: signing failed: secret key not available

Trying to re-import the pub key with gpg --allow-non-selfsigned-uid --import result.pub

gpg: key 1800EBBE: accepted non self-signed user ID "Pippo"
gpg: key 1800EBBE: public key "Pippo" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)

if I re-try to sign with gpg -u 1800EBBE --sign result.pub

gpg: skipped "1800EBBE": unusable secret key
gpg: signing failed: unusable secret key
@osresearch
Copy link

I've started a README.md in my fork with instructions for using the keys: https://github.com/osresearch/pgp-vanity-keygen/blob/master/README.md

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