Public bug reported:

# lsb_release -rd
No LSB modules are available.
Description:    Ubuntu 24.04 LTS
Release:        24.04


# apt-cache policy mandos-client
mandos-client:
  Installed: 1.8.16-1ubuntu4
  Candidate: 1.8.16-1ubuntu4
  Version table:
 *** 1.8.16-1ubuntu4 500
        500 http://mirror.hetzner.com/ubuntu/packages noble/universe amd64 
Packages
        500 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages
        100 /var/lib/dpkg/status


mandos-client is able to fetch password from server in running system, but 
fails in initrams with error

Mandos plugin mandos-client: bad gpgme_op_decrypt: GnuPG: No secret key


The reason why mandos-client is not working is that initramfs is missing the 
gpg-agent binary.

The reason why gpg-agent binary is not copied to initramfs is that the
package libgpgme11 has been renamed to libgpgme11t64.

The fix is:
# diff /usr/share/initramfs-tools/hooks/mandos.orig 
/usr/share/initramfs-tools/hooks/mandos
183c183
< libgpgme11_version="`dpkg-query --showformat='${Version}' --show libgpgme11`"
---
> libgpgme11_version="`dpkg-query --showformat='${Version}' --show 
> libgpgme11t64`"


As I think creation of intiramfs is part of the distro I address this here.
Please let me know when I am wrong.

Kind regards
Christian Rusa

** Affects: mandos (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068014

Title:
  mandos-client fails to install gpg-agent into intiramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mandos/+bug/2068014/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to