gpg: no valid OpenPGP data found
I am trying to import the following key:
https://www.apache.org/dist/pig/pig-0.16.0/pig-0.16.0.tar.gz.asc
Trying to import using:
gpg --import pig.sig
But getting the following error:
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
I have tried removing line breaks but the error is still there. How can fix it? I am interested in finding out the fingerprint.
gnupg
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I am trying to import the following key:
https://www.apache.org/dist/pig/pig-0.16.0/pig-0.16.0.tar.gz.asc
Trying to import using:
gpg --import pig.sig
But getting the following error:
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
I have tried removing line breaks but the error is still there. How can fix it? I am interested in finding out the fingerprint.
gnupg
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I am trying to import the following key:
https://www.apache.org/dist/pig/pig-0.16.0/pig-0.16.0.tar.gz.asc
Trying to import using:
gpg --import pig.sig
But getting the following error:
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
I have tried removing line breaks but the error is still there. How can fix it? I am interested in finding out the fingerprint.
gnupg
I am trying to import the following key:
https://www.apache.org/dist/pig/pig-0.16.0/pig-0.16.0.tar.gz.asc
Trying to import using:
gpg --import pig.sig
But getting the following error:
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
I have tried removing line breaks but the error is still there. How can fix it? I am interested in finding out the fingerprint.
gnupg
gnupg
asked Sep 26 '16 at 10:34
x-manx-man
10115
10115
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
From the file name I read that what you try to import is not a key, but a signature on a file pig-0.16.0.tar.gz
. You cannot import a signature, but verify it instead:
gpg --verify pig-0.16.0.tar.gz.asc
You need to fetch the key before verification. The required key ID will be printed when not found during verification, and can be fetched from key servers by running
gpg --recv-keys [key-id]
Be aware that if you don't validate the key against a trusted source, it could be issued by anybody. Key servers don't perform any verification, and an attacker could have just created a key using a fake name and mail address and issued the signature you just try to verify.
Basically I want to find out the id of the key and run gpg --keyserver <keyserver> -recv-keys. How can I find the key id from the ".asc" file?
– x-man
Oct 1 '16 at 11:18
Basically quoting my answer: "The required key ID will be printed when not found during verification".
– Jens Erat
Oct 1 '16 at 11:27
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%2f829806%2fgpg-no-valid-openpgp-data-found%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
From the file name I read that what you try to import is not a key, but a signature on a file pig-0.16.0.tar.gz
. You cannot import a signature, but verify it instead:
gpg --verify pig-0.16.0.tar.gz.asc
You need to fetch the key before verification. The required key ID will be printed when not found during verification, and can be fetched from key servers by running
gpg --recv-keys [key-id]
Be aware that if you don't validate the key against a trusted source, it could be issued by anybody. Key servers don't perform any verification, and an attacker could have just created a key using a fake name and mail address and issued the signature you just try to verify.
Basically I want to find out the id of the key and run gpg --keyserver <keyserver> -recv-keys. How can I find the key id from the ".asc" file?
– x-man
Oct 1 '16 at 11:18
Basically quoting my answer: "The required key ID will be printed when not found during verification".
– Jens Erat
Oct 1 '16 at 11:27
add a comment |
From the file name I read that what you try to import is not a key, but a signature on a file pig-0.16.0.tar.gz
. You cannot import a signature, but verify it instead:
gpg --verify pig-0.16.0.tar.gz.asc
You need to fetch the key before verification. The required key ID will be printed when not found during verification, and can be fetched from key servers by running
gpg --recv-keys [key-id]
Be aware that if you don't validate the key against a trusted source, it could be issued by anybody. Key servers don't perform any verification, and an attacker could have just created a key using a fake name and mail address and issued the signature you just try to verify.
Basically I want to find out the id of the key and run gpg --keyserver <keyserver> -recv-keys. How can I find the key id from the ".asc" file?
– x-man
Oct 1 '16 at 11:18
Basically quoting my answer: "The required key ID will be printed when not found during verification".
– Jens Erat
Oct 1 '16 at 11:27
add a comment |
From the file name I read that what you try to import is not a key, but a signature on a file pig-0.16.0.tar.gz
. You cannot import a signature, but verify it instead:
gpg --verify pig-0.16.0.tar.gz.asc
You need to fetch the key before verification. The required key ID will be printed when not found during verification, and can be fetched from key servers by running
gpg --recv-keys [key-id]
Be aware that if you don't validate the key against a trusted source, it could be issued by anybody. Key servers don't perform any verification, and an attacker could have just created a key using a fake name and mail address and issued the signature you just try to verify.
From the file name I read that what you try to import is not a key, but a signature on a file pig-0.16.0.tar.gz
. You cannot import a signature, but verify it instead:
gpg --verify pig-0.16.0.tar.gz.asc
You need to fetch the key before verification. The required key ID will be printed when not found during verification, and can be fetched from key servers by running
gpg --recv-keys [key-id]
Be aware that if you don't validate the key against a trusted source, it could be issued by anybody. Key servers don't perform any verification, and an attacker could have just created a key using a fake name and mail address and issued the signature you just try to verify.
answered Sep 28 '16 at 14:17
Jens EratJens Erat
4,12972031
4,12972031
Basically I want to find out the id of the key and run gpg --keyserver <keyserver> -recv-keys. How can I find the key id from the ".asc" file?
– x-man
Oct 1 '16 at 11:18
Basically quoting my answer: "The required key ID will be printed when not found during verification".
– Jens Erat
Oct 1 '16 at 11:27
add a comment |
Basically I want to find out the id of the key and run gpg --keyserver <keyserver> -recv-keys. How can I find the key id from the ".asc" file?
– x-man
Oct 1 '16 at 11:18
Basically quoting my answer: "The required key ID will be printed when not found during verification".
– Jens Erat
Oct 1 '16 at 11:27
Basically I want to find out the id of the key and run gpg --keyserver <keyserver> -recv-keys. How can I find the key id from the ".asc" file?
– x-man
Oct 1 '16 at 11:18
Basically I want to find out the id of the key and run gpg --keyserver <keyserver> -recv-keys. How can I find the key id from the ".asc" file?
– x-man
Oct 1 '16 at 11:18
Basically quoting my answer: "The required key ID will be printed when not found during verification".
– Jens Erat
Oct 1 '16 at 11:27
Basically quoting my answer: "The required key ID will be printed when not found during verification".
– Jens Erat
Oct 1 '16 at 11:27
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%2f829806%2fgpg-no-valid-openpgp-data-found%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