I am unable to generate a gpg key through the keyring program
Whenever I try to generate a gpg key through the system's GPG program, it asks for my name, email, and password then everything except for the GPG program's main window disappears.
Upon using gpg key-gen
gpg: can't open `/home/jesse/.gnupg/random_seed': Permission denied
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
gpg: WARNING: some OpenPGP programs can't handle a DSA key with this digest size
+++++++++++++++..++++++++++...+++++++++++++++.+++++..+++++.+++++.++++++++++.+++++++++++++++..+++++.++++++++++++++++++++.++++++++++++++++++++++++++++++.+++++.+++++.+++++...+++++>+++++...+++++++++++++++++++++++++..+++++++++++++++>.+++++>+++++................................................................................................................................................................................................................................................................................>.+++++.................................................................................................................+++++
Not enough random bytes available. Please do some other work to give
the OS a chance to collect more entropy! (Need 300 more bytes)
gpg: no writable public keyring found: eof
Key generation failed: eof
gpg: note: random_seed file not updated
security email gnupg keyrings
add a comment |
Whenever I try to generate a gpg key through the system's GPG program, it asks for my name, email, and password then everything except for the GPG program's main window disappears.
Upon using gpg key-gen
gpg: can't open `/home/jesse/.gnupg/random_seed': Permission denied
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
gpg: WARNING: some OpenPGP programs can't handle a DSA key with this digest size
+++++++++++++++..++++++++++...+++++++++++++++.+++++..+++++.+++++.++++++++++.+++++++++++++++..+++++.++++++++++++++++++++.++++++++++++++++++++++++++++++.+++++.+++++.+++++...+++++>+++++...+++++++++++++++++++++++++..+++++++++++++++>.+++++>+++++................................................................................................................................................................................................................................................................................>.+++++.................................................................................................................+++++
Not enough random bytes available. Please do some other work to give
the OS a chance to collect more entropy! (Need 300 more bytes)
gpg: no writable public keyring found: eof
Key generation failed: eof
gpg: note: random_seed file not updated
security email gnupg keyrings
add a comment |
Whenever I try to generate a gpg key through the system's GPG program, it asks for my name, email, and password then everything except for the GPG program's main window disappears.
Upon using gpg key-gen
gpg: can't open `/home/jesse/.gnupg/random_seed': Permission denied
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
gpg: WARNING: some OpenPGP programs can't handle a DSA key with this digest size
+++++++++++++++..++++++++++...+++++++++++++++.+++++..+++++.+++++.++++++++++.+++++++++++++++..+++++.++++++++++++++++++++.++++++++++++++++++++++++++++++.+++++.+++++.+++++...+++++>+++++...+++++++++++++++++++++++++..+++++++++++++++>.+++++>+++++................................................................................................................................................................................................................................................................................>.+++++.................................................................................................................+++++
Not enough random bytes available. Please do some other work to give
the OS a chance to collect more entropy! (Need 300 more bytes)
gpg: no writable public keyring found: eof
Key generation failed: eof
gpg: note: random_seed file not updated
security email gnupg keyrings
Whenever I try to generate a gpg key through the system's GPG program, it asks for my name, email, and password then everything except for the GPG program's main window disappears.
Upon using gpg key-gen
gpg: can't open `/home/jesse/.gnupg/random_seed': Permission denied
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
gpg: WARNING: some OpenPGP programs can't handle a DSA key with this digest size
+++++++++++++++..++++++++++...+++++++++++++++.+++++..+++++.+++++.++++++++++.+++++++++++++++..+++++.++++++++++++++++++++.++++++++++++++++++++++++++++++.+++++.+++++.+++++...+++++>+++++...+++++++++++++++++++++++++..+++++++++++++++>.+++++>+++++................................................................................................................................................................................................................................................................................>.+++++.................................................................................................................+++++
Not enough random bytes available. Please do some other work to give
the OS a chance to collect more entropy! (Need 300 more bytes)
gpg: no writable public keyring found: eof
Key generation failed: eof
gpg: note: random_seed file not updated
security email gnupg keyrings
security email gnupg keyrings
edited Jun 14 '14 at 13:07
KI4JGT
asked Jun 14 '14 at 12:43
KI4JGTKI4JGT
83741834
83741834
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
For me, deleting the .gnugpg
folder helped:
sudo rm -rf ~/.gnugpg
That is what eventually worked for me. I must have forgotten to come back and put the answer here. Thank you for your response.
– KI4JGT
Mar 12 '16 at 19:49
This didn't worked for me on 17.10
– Danny van der Knaap
Nov 15 '17 at 8:18
add a comment |
Permissions might be wrong after you ran gpg from root, making it impossible to modify one/some of the files as ordinary user "joey".
find ~/.gnupg -type d -exec sudo chown joey:joey {} ; -exec chmod 700 {} ;
find ~/.gnupg -type f -exec sudo chown joey:joey {} ; -exec chmod 600 {} ;
In case case you don't want to delete any existing keys, this will be helpful.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f483196%2fi-am-unable-to-generate-a-gpg-key-through-the-keyring-program%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
For me, deleting the .gnugpg
folder helped:
sudo rm -rf ~/.gnugpg
That is what eventually worked for me. I must have forgotten to come back and put the answer here. Thank you for your response.
– KI4JGT
Mar 12 '16 at 19:49
This didn't worked for me on 17.10
– Danny van der Knaap
Nov 15 '17 at 8:18
add a comment |
For me, deleting the .gnugpg
folder helped:
sudo rm -rf ~/.gnugpg
That is what eventually worked for me. I must have forgotten to come back and put the answer here. Thank you for your response.
– KI4JGT
Mar 12 '16 at 19:49
This didn't worked for me on 17.10
– Danny van der Knaap
Nov 15 '17 at 8:18
add a comment |
For me, deleting the .gnugpg
folder helped:
sudo rm -rf ~/.gnugpg
For me, deleting the .gnugpg
folder helped:
sudo rm -rf ~/.gnugpg
answered Mar 12 '16 at 7:19
alkamidalkamid
205138
205138
That is what eventually worked for me. I must have forgotten to come back and put the answer here. Thank you for your response.
– KI4JGT
Mar 12 '16 at 19:49
This didn't worked for me on 17.10
– Danny van der Knaap
Nov 15 '17 at 8:18
add a comment |
That is what eventually worked for me. I must have forgotten to come back and put the answer here. Thank you for your response.
– KI4JGT
Mar 12 '16 at 19:49
This didn't worked for me on 17.10
– Danny van der Knaap
Nov 15 '17 at 8:18
That is what eventually worked for me. I must have forgotten to come back and put the answer here. Thank you for your response.
– KI4JGT
Mar 12 '16 at 19:49
That is what eventually worked for me. I must have forgotten to come back and put the answer here. Thank you for your response.
– KI4JGT
Mar 12 '16 at 19:49
This didn't worked for me on 17.10
– Danny van der Knaap
Nov 15 '17 at 8:18
This didn't worked for me on 17.10
– Danny van der Knaap
Nov 15 '17 at 8:18
add a comment |
Permissions might be wrong after you ran gpg from root, making it impossible to modify one/some of the files as ordinary user "joey".
find ~/.gnupg -type d -exec sudo chown joey:joey {} ; -exec chmod 700 {} ;
find ~/.gnupg -type f -exec sudo chown joey:joey {} ; -exec chmod 600 {} ;
In case case you don't want to delete any existing keys, this will be helpful.
add a comment |
Permissions might be wrong after you ran gpg from root, making it impossible to modify one/some of the files as ordinary user "joey".
find ~/.gnupg -type d -exec sudo chown joey:joey {} ; -exec chmod 700 {} ;
find ~/.gnupg -type f -exec sudo chown joey:joey {} ; -exec chmod 600 {} ;
In case case you don't want to delete any existing keys, this will be helpful.
add a comment |
Permissions might be wrong after you ran gpg from root, making it impossible to modify one/some of the files as ordinary user "joey".
find ~/.gnupg -type d -exec sudo chown joey:joey {} ; -exec chmod 700 {} ;
find ~/.gnupg -type f -exec sudo chown joey:joey {} ; -exec chmod 600 {} ;
In case case you don't want to delete any existing keys, this will be helpful.
Permissions might be wrong after you ran gpg from root, making it impossible to modify one/some of the files as ordinary user "joey".
find ~/.gnupg -type d -exec sudo chown joey:joey {} ; -exec chmod 700 {} ;
find ~/.gnupg -type f -exec sudo chown joey:joey {} ; -exec chmod 600 {} ;
In case case you don't want to delete any existing keys, this will be helpful.
answered Jan 18 at 2:11
Craig HicksCraig Hicks
22017
22017
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f483196%2fi-am-unable-to-generate-a-gpg-key-through-the-keyring-program%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown