Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 869470 - sys-apps/portage: gpkg-sign doesn't handle unconfigured signing support gracefully
Summary: sys-apps/portage: gpkg-sign doesn't handle unconfigured signing support grace...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Binary packages support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 871561
  Show dependency tree
 
Reported: 2022-09-10 11:09 UTC by Michał Górny
Modified: 2022-09-23 03:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-09-10 11:09:02 UTC
It seems that 'None' is getting treated literally somewhere:


# gpkg-sign inkscape-1.2.1-r2-1.gpkg.tar
!!!
gpg: keyblock resource '/tmp/None/pubring.kbx': No such file or directory
gpg: skipped "None": No secret key
gpg: signing failed: No secret key
 * Signature exception: inkscape-1.2.1-r2-1.gpkg.tar
Comment 1 Larry the Git Cow gentoo-dev 2022-09-20 03:39:26 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=57ec5fc566a8e47fefad628fc61aa9a575341ff2

commit 57ec5fc566a8e47fefad628fc61aa9a575341ff2
Author:     Sheng Yu <syu.os@protonmail.com>
AuthorDate: 2022-09-14 10:01:02 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-20 03:39:23 +0000

    gpkg-sign: add gpg configuration check
    
    Bug: https://bugs.gentoo.org/869470
    Signed-off-by: Sheng Yu <syu.os@protonmail.com>
    Closes: https://github.com/gentoo/portage/pull/899
    Signed-off-by: Sam James <sam@gentoo.org>

 bin/gpkg-sign          |  9 +++++++++
 lib/_emerge/actions.py | 16 ++++++++++++++++
 2 files changed, 25 insertions(+)
Comment 2 Larry the Git Cow gentoo-dev 2022-09-23 03:30:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=041d1f125384dd935d058b555a0fcb6b260260cb

commit 041d1f125384dd935d058b555a0fcb6b260260cb
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-09-23 03:27:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-23 03:27:14 +0000

    sys-apps/portage: add 3.0.37
    
    Closes: https://bugs.gentoo.org/866197
    Closes: https://bugs.gentoo.org/869470
    Closes: https://bugs.gentoo.org/870229
    Closes: https://bugs.gentoo.org/870283
    Closes: https://bugs.gentoo.org/870310
    Closes: https://bugs.gentoo.org/871561
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/portage/Manifest              |   1 +
 sys-apps/portage/portage-3.0.37.ebuild | 273 +++++++++++++++++++++++++++++++++
 2 files changed, 274 insertions(+)