Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#25533 - [pacman] pacman -Si or Qi doesnt show info about if the package is signed.
Attached to Project:
Pacman
Opened by Jelle van der Waa (jelly) - Friday, 12 August 2011, 10:55 GMT
Last edited by Dan McGee (toofishes) - Monday, 15 August 2011, 17:42 GMT
Opened by Jelle van der Waa (jelly) - Friday, 12 August 2011, 10:55 GMT
Last edited by Dan McGee (toofishes) - Monday, 15 August 2011, 17:42 GMT
|
DetailsSummary and Info:
pacman -Si allanbrokeit/findutils This doesnt show if a package is signed or not, this would be usefull if you use 3rd party repos or if you paranoid. Pacman v3.5.3-531-gf10a - libalpm v6.0.3 |
This task depends upon
Closed by Dan McGee (toofishes)
Monday, 15 August 2011, 17:42 GMT
Reason for closing: Implemented
Additional comments about closing: Fixed in git, 20b5cc96be5
Monday, 15 August 2011, 17:42 GMT
Reason for closing: Implemented
Additional comments about closing: Fixed in git, 20b5cc96be5
Finally, just add something in src/pacman/package.c that shows yes/no/true/false (whatever convention is) and have it show up only for sync packages, and only if the pgpsig field mentioned is not NULL.
Update: pacman -Qip works and shows signature info, i will see if i can make a patch for -Si http://dpaste.org/WRvT/
Hmmm since pacman -Si calls dump_pkg_full, with FROM_SYNCDB , and currently dump_pkg_full only shows Signatures with PKG_FROM_FILE, so thats why -Si doenst show it.
Also, it would appear that we don't write the %PGPSIG% field to the local DB, so unless we fix that, we can't see this info on -Qi.
And signatures information make no sense for -Qi at all.
So -Qip shows something like:
Signatures : Valid, fully trusted from "Allan McRae <me@allanmcrae.com>"
We could have -Si show
Signatures : None
or
Signatures : From "Allan McRae <me@allanmcrae.com>"
From "Someone Else <foo@example.com>"
Signatures : None
else
Signatures : From "Allan McRae <me@allanmcrae.com>"
From "Someone Else <foo@example.com>"
A thought would be "validating" the signatures against /dev/null just to get the key information, but gpg/gpgme currently has a stupid bug where it stops listing signatures after the first one if validation fails.
Something as simple as the below would be enough to get a "Signed" field showing on -Si output.
https://github.com/falconindy/pacman/commit/dcb35fdb212c3de958b4daf300353bfb3758e7ea