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

Create GPG key fails #9

Open
chriscroome opened this issue Jan 29, 2019 · 2 comments
Open

Create GPG key fails #9

chriscroome opened this issue Jan 29, 2019 · 2 comments
Labels

Comments

@chriscroome
Copy link

On a Debian Stretch server the create key task fails with:

gpg: agent_genkey failed: Timeout

This appears because this command:

gpg2 --batch --gen-key ${HOME}/gpg2_gen_key

Prompts for a passphrase, even setting it to nothing still prompts for one:

gpg2 --batch --gen-key --passphrase "" ${HOME}/gpg2_gen_key

Also the secret key is not written to $HOME/key.sec ... so this all needs fixing... I'll see what I can do later...

Also this might be worth noting:

DSA allows a key size up to 1024 bits.

@aioue aioue added the bug label Mar 11, 2019
@timblaktu
Copy link

@chriscroome where'd you end up on this? Did you abandon using this role? I'm considering using it, but don't want to bother if it simply doesn't work right now. I've spent several days trying to get 2 other aptly roles working and they all had significant problems:

I'd be curious if you ever found an aptly role that works.

@chriscroome
Copy link
Author

chriscroome commented Nov 10, 2020

There is a fork here with some updates but think I gave up and ended up using reprepo.

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

No branches or pull requests

3 participants