mmdebstrap fails on Debian bullseye when using a apt trusted ASCII-armored format gpg key
#13
Closed
opened 3 years ago by adrelanos
·
7 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Debian
buster
supported only binary gpg keys (.gpg
).Debian
bullseye
supports supports both, binary gpg keys (.gpg
) as well as ASCII-armored format gpg keys (.asc
).However, a key such as
/etc/apt/trusted.gpg.d/derivative.asc
that works perfectly with APT breaksmmdebstrap
.@rockdrilla was fixing this in !1 -- maybe they have some input?
This line of mmdebstrap's code is failing:
To manualy reproduce the gpg issue:
Can you try the version from git and see if that fixes your problem?
Thank you for swift reply! :)
Do you think you could use the following gpg command style instead?
(Simplified.)
It produces the same format as the currently used command but is compatible with both versions (ASCII-armored or not).
Credits:
https://unix.stackexchange.com/questions/468647/how-do-i-get-the-fingerprint-of-an-ascii-armored-pgp-secret-key-with-gpg
Why? Does the fix from
ccd4b5c163
not work for you?It has a good chance that it would work since it uses
--show-keys
, which works for me on the command line. Will test now.Works for me.
Replied before I was reading that.
Thank you very much for quick help!