why do ubuntu open source packages have gpg key?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












I understand that gpg keys are for "signing" your data as mentioned on their website (https://www.gnupg.org/)



But why then do some open source packages require me to install a gpg key? What is this protecting against?



Thank you.







share|improve this question




















  • Could you provide an example?
    – danzel
    May 4 at 18:44










  • wiki.ros.org/kinetic/Installation/Ubuntu
    – simplename
    May 4 at 18:56






  • 1




    Part of security. Google apt debian security
    – Panther
    May 4 at 18:56










  • wiki.debian.org/Apt#security
    – Panther
    May 4 at 20:48














up vote
1
down vote

favorite












I understand that gpg keys are for "signing" your data as mentioned on their website (https://www.gnupg.org/)



But why then do some open source packages require me to install a gpg key? What is this protecting against?



Thank you.







share|improve this question




















  • Could you provide an example?
    – danzel
    May 4 at 18:44










  • wiki.ros.org/kinetic/Installation/Ubuntu
    – simplename
    May 4 at 18:56






  • 1




    Part of security. Google apt debian security
    – Panther
    May 4 at 18:56










  • wiki.debian.org/Apt#security
    – Panther
    May 4 at 20:48












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I understand that gpg keys are for "signing" your data as mentioned on their website (https://www.gnupg.org/)



But why then do some open source packages require me to install a gpg key? What is this protecting against?



Thank you.







share|improve this question












I understand that gpg keys are for "signing" your data as mentioned on their website (https://www.gnupg.org/)



But why then do some open source packages require me to install a gpg key? What is this protecting against?



Thank you.









share|improve this question











share|improve this question




share|improve this question










asked May 4 at 18:02









simplename

366




366











  • Could you provide an example?
    – danzel
    May 4 at 18:44










  • wiki.ros.org/kinetic/Installation/Ubuntu
    – simplename
    May 4 at 18:56






  • 1




    Part of security. Google apt debian security
    – Panther
    May 4 at 18:56










  • wiki.debian.org/Apt#security
    – Panther
    May 4 at 20:48
















  • Could you provide an example?
    – danzel
    May 4 at 18:44










  • wiki.ros.org/kinetic/Installation/Ubuntu
    – simplename
    May 4 at 18:56






  • 1




    Part of security. Google apt debian security
    – Panther
    May 4 at 18:56










  • wiki.debian.org/Apt#security
    – Panther
    May 4 at 20:48















Could you provide an example?
– danzel
May 4 at 18:44




Could you provide an example?
– danzel
May 4 at 18:44












wiki.ros.org/kinetic/Installation/Ubuntu
– simplename
May 4 at 18:56




wiki.ros.org/kinetic/Installation/Ubuntu
– simplename
May 4 at 18:56




1




1




Part of security. Google apt debian security
– Panther
May 4 at 18:56




Part of security. Google apt debian security
– Panther
May 4 at 18:56












wiki.debian.org/Apt#security
– Panther
May 4 at 20:48




wiki.debian.org/Apt#security
– Panther
May 4 at 20:48










1 Answer
1






active

oldest

votes

















up vote
3
down vote













It's protecting the package against tampering. The installer verifies that the package signature is valid and made by one of the keys you have configured your system to trust.



When you add a key with apt-key you trust that key to authenticate software. This means that a third party can not supply you a modified package - it validates that the package is made by whoever controls the corresponding private key.



This means that you don't have to trust whoever operates a Ubuntu mirror; you can verify that they are not supplying malware, because they would not be able to sign a package with a key that you trust.






share|improve this answer




















  • do you mean "that you don't trust" at the end?
    – simplename
    May 9 at 0:43










  • No, they would not be able to sign with a key that you do trust.
    – vidarlo
    May 9 at 5:23










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',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1032098%2fwhy-do-ubuntu-open-source-packages-have-gpg-key%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
3
down vote













It's protecting the package against tampering. The installer verifies that the package signature is valid and made by one of the keys you have configured your system to trust.



When you add a key with apt-key you trust that key to authenticate software. This means that a third party can not supply you a modified package - it validates that the package is made by whoever controls the corresponding private key.



This means that you don't have to trust whoever operates a Ubuntu mirror; you can verify that they are not supplying malware, because they would not be able to sign a package with a key that you trust.






share|improve this answer




















  • do you mean "that you don't trust" at the end?
    – simplename
    May 9 at 0:43










  • No, they would not be able to sign with a key that you do trust.
    – vidarlo
    May 9 at 5:23














up vote
3
down vote













It's protecting the package against tampering. The installer verifies that the package signature is valid and made by one of the keys you have configured your system to trust.



When you add a key with apt-key you trust that key to authenticate software. This means that a third party can not supply you a modified package - it validates that the package is made by whoever controls the corresponding private key.



This means that you don't have to trust whoever operates a Ubuntu mirror; you can verify that they are not supplying malware, because they would not be able to sign a package with a key that you trust.






share|improve this answer




















  • do you mean "that you don't trust" at the end?
    – simplename
    May 9 at 0:43










  • No, they would not be able to sign with a key that you do trust.
    – vidarlo
    May 9 at 5:23












up vote
3
down vote










up vote
3
down vote









It's protecting the package against tampering. The installer verifies that the package signature is valid and made by one of the keys you have configured your system to trust.



When you add a key with apt-key you trust that key to authenticate software. This means that a third party can not supply you a modified package - it validates that the package is made by whoever controls the corresponding private key.



This means that you don't have to trust whoever operates a Ubuntu mirror; you can verify that they are not supplying malware, because they would not be able to sign a package with a key that you trust.






share|improve this answer












It's protecting the package against tampering. The installer verifies that the package signature is valid and made by one of the keys you have configured your system to trust.



When you add a key with apt-key you trust that key to authenticate software. This means that a third party can not supply you a modified package - it validates that the package is made by whoever controls the corresponding private key.



This means that you don't have to trust whoever operates a Ubuntu mirror; you can verify that they are not supplying malware, because they would not be able to sign a package with a key that you trust.







share|improve this answer












share|improve this answer



share|improve this answer










answered May 4 at 18:45









vidarlo

7,12342140




7,12342140











  • do you mean "that you don't trust" at the end?
    – simplename
    May 9 at 0:43










  • No, they would not be able to sign with a key that you do trust.
    – vidarlo
    May 9 at 5:23
















  • do you mean "that you don't trust" at the end?
    – simplename
    May 9 at 0:43










  • No, they would not be able to sign with a key that you do trust.
    – vidarlo
    May 9 at 5:23















do you mean "that you don't trust" at the end?
– simplename
May 9 at 0:43




do you mean "that you don't trust" at the end?
– simplename
May 9 at 0:43












No, they would not be able to sign with a key that you do trust.
– vidarlo
May 9 at 5:23




No, they would not be able to sign with a key that you do trust.
– vidarlo
May 9 at 5:23












 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1032098%2fwhy-do-ubuntu-open-source-packages-have-gpg-key%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error

How do I move numbers in filenames, in a batch renaming operation?