public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Can't sign binary packages using GnuPG
@ 2024-12-07 17:41 whiteman808
  0 siblings, 0 replies; only message in thread
From: whiteman808 @ 2024-12-07 17:41 UTC (permalink / raw
  To: gentoo-user

Hey,

I tried to login using serial console, direct tty, and ssh too. I set the correct value for GPG_TTY variable. I tried also to use bash instead of zsh+p10k. I totally have no idea why I still can't enter gpg private key password.

An example build log:

~ ❯ emerge -av wireguard-tools                                                                                                root@gentoo-binpkgs-vps 10:48:21

 * IMPORTANT: 18 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies             ... done!
Dependency resolution took 0.91 s (backtrack: 0/20).

[ebuild  N     ] net-vpn/wireguard-tools-1.0.20210914::gentoo  USE="wg-quick (-selinux)" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No]
>>> Unlocking GPG... Please enter the passphrase to unlock the OpenPGP secret key:
"whiteman808 <whiteman808@paraboletancza.org>"
255-bit EDDSA key, ID 5FD62B1ADB4E8747,
created 2024-09-25.

Passphrase:
unlocked

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) net-vpn/wireguard-tools-1.0.20210914::gentoo
 * wireguard-tools-1.0.20210914.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                      [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     6.6.51-gentoo-dist
 * Checking for suitable kernel configuration options ...                                                                                               [ ok ]
>>> Unpacking source...
>>> Unpacking wireguard-tools-1.0.20210914.tar.xz to /var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/work
>>> Source unpacked in /var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/work
>>> Preparing source in /var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/work/wireguard-tools-1.0.20210914 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/work/wireguard-tools-1.0.20210914 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/work/wireguard-tools-1.0.20210914 ...
make -j12 RUNSTATEDIR=/run -C src CC=x86_64-pc-linux-gnu-gcc LD=x86_64-pc-linux-gnu-ld
make: Entering directory '/var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/work/wireguard-tools-1.0.20210914/src'
  CC      wg.o
  CC      config.o
  CC      curve25519.o
  CC      encoding.o
  CC      genkey.o
  CC      ipc.o
  CC      pubkey.o
  CC      set.o
  CC      setconf.o
  CC      show.o
  CC      showconf.o
  CC      terminal.o
  LD      wg
make: Leaving directory '/var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/work/wireguard-tools-1.0.20210914/src'
>>> Source compiled.
>>> Test phase [not enabled]: net-vpn/wireguard-tools-1.0.20210914

>>> Install net-vpn/wireguard-tools-1.0.20210914 into /var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/image
make -j12 WITH_BASHCOMPLETION=yes WITH_SYSTEMDUNITS=yes WITH_WGQUICK=yes DESTDIR=/var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/image BASHCOMPDIR=/usr/share/bash-completion/completions SYSTEMDUNITDIR=/usr/lib/systemd/system PREFIX=/usr -C src install
make: Entering directory '/var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/work/wireguard-tools-1.0.20210914/src'
/usr/bin/install: creating directory '/var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/image/usr/bin'
'wg' -> '/var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/image/usr/bin/wg'
/usr/bin/install: creating directory '/var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/image/usr/share/man'
/usr/bin/install: creating directory '/var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/image/usr/share/man/man8'
'man/wg.8' -> '/var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/image/usr/share/man/man8/wg.8'
/usr/bin/install: creating directory '/var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/image/usr/share/bash-completion'
/usr/bin/install: creating directory '/var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/image/usr/share/bash-completion/completions'
'completion/wg.bash-completion' -> '/var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/image/usr/share/bash-completion/completions/wg'
'wg-quick/linux.bash' -> '/var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/image/usr/bin/wg-quick'
/usr/bin/install: creating directory '/var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/image/etc'
/usr/bin/install: creating directory '/var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/image/etc/wireguard'
'man/wg-quick.8' -> '/var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/image/usr/share/man/man8/wg-quick.8'
'completion/wg-quick.bash-completion' -> '/var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/image/usr/share/bash-completion/completions/wg-quick'
/usr/bin/install: creating directory '/var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/image/usr/lib'
/usr/bin/install: creating directory '/var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/image/usr/lib/systemd'
/usr/bin/install: creating directory '/var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/image/usr/lib/systemd/system'
'systemd/wg-quick.target' -> '/var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/image/usr/lib/systemd/system/wg-quick.target'
'systemd/wg-quick@.service' -> '/var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/image/usr/lib/systemd/system/wg-quick@.service'
make: Leaving directory '/var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/work/wireguard-tools-1.0.20210914/src'
>>> Completed installing net-vpn/wireguard-tools-1.0.20210914 into /var/tmp/portage/net-vpn/wireguard-tools-1.0.20210914/image

 * Final size of build directory: 1320 KiB (1.2 MiB)
 * Final size of installed tree:   632 KiB

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version
   /usr/bin/wg
Please enter the passphrase to unlock the OpenPGP secret key:
"whiteman808 <whiteman808@paraboletancza.org>"
255-bit EDDSA key, ID 5FD62B1ADB4E8747,
created 2024-09-25.

Passphrase: <password echoed in clear text, Enter, C-d doesn't work>
^C

Exiting on signal 2


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-12-07 17:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-07 17:41 [gentoo-user] Can't sign binary packages using GnuPG whiteman808

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox