Skip to content

Can't install - public key is not available #277

@beardedfool

Description

@beardedfool

Which version of pam_usb are you running?

Trying to install from ubuntu repo

Which distribution are you using?

ubuntu 25.04

Which login manager and desktop environment are you using?

gnome

What happened?

sudo gpg --no-default-keyring --keyring /usr/share/keyrings/apt.mcdope.org.gpg --keyserver keyserver.ubuntu.com --recv-keys 913558C8A5E552A7

outputs

gpg: keybox '/usr/share/keyrings/apt.mcdope.org.gpg' created
gpg: key 913558C8A5E552A7: public key "Tobias B�umer (Replaces C14ADD29D26E887C) <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1

and creates two files

-rw-r--r--   1 root root 3.1K Nov 25 20:56 apt.mcdope.org.gpg
-rw-------   1 root root   32 Nov 25 20:56 apt.mcdope.org.gpg~
root@test:/etc/apt/sources.list.d# cat usbpam.list 
deb [signed-by=/usr/share/keyrings/apt.mcdope.org.gpg] https://apt.mcdope.org/ ./
root@test:/etc/apt/sources.list.d# ls /usr/share/keyrings/apt.mcdope.org.gpg
sudo apt update
Get:8 https://apt.mcdope.org ./ InRelease [2,086 B]                             
Err:8 https://apt.mcdope.org ./ InRelease                               
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 913558C8A5E552A7
Warning: OpenPGP signature verification failed: https://apt.mcdope.org ./ InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 913558C8A5E552A7
Error: The repository 'https://apt.mcdope.org ./ InRelease' is not signed.
Notice: Updating from such a repository can't be done securely, and is therefore disabled by default.

Apologies as likely doing something stupid but have tested on 2 separate systems with same effect

Output of "pamusb-check --debug whoami"

NA

Output of "w"

root@crow:/usr/share/keyrings# w
 21:02:39 up  1:48,  4 users,  load average: 0.41, 0.69, 0.81
USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU  WHAT
changed     tty2     -                19:15    1:48m  0.03s  0.03s /usr/libexec/gnome-session-binary --session=ubuntu
root     pts/2    -                20:18    0.00s  0.27s  0.05s w
root              -                20:05    1:44m  0.00s  0.40s /usr/lib/systemd/systemd --user
changed              -                19:15    1:44m  0.00s  2.53s /usr/lib/systemd/systemd --user

Output of "loginctl"

root@crow:/usr/share/keyrings# loginctl
SESSION  UID USER SEAT  LEADER CLASS         TTY   IDLE SINCE
     15    0 root -     32232  manager-early -     no   -    
      3 1200 changed seat0 3299   user          tty2  no   -    
      4 1200 changed -     3486   manager       -     no   -    
     c7    0 root -     34591  user-early    pts/2 no   -    

4 sessions listed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions