mmdebstrap fails on Debian bullseye when using a apt trusted ASCII-armored format gpg key #13
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. 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!