From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 336BB158232 for ; Sat, 7 Dec 2024 17:42:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 53DDBE11D3; Sat, 7 Dec 2024 17:42:02 +0000 (UTC) Received: from paraboletancza.org (paraboletancza.org [188.245.184.166]) by pigeon.gentoo.org (Postfix) with ESMTP id 1C364E11AB for ; Sat, 7 Dec 2024 17:42:01 +0000 (UTC) Received: from paraboletancza.org (unknown [IPv6:2a00:f41:58f0:a145:154a:6c5:b8b:4f2]) by paraboletancza.org (Postfix) with ESMTPSA id 4ED5C36981E for ; Sat, 07 Dec 2024 17:42:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paraboletancza.org; s=default; t=1733593320; bh=eb9nK7J6WV/ywA1bDH9ef+PuNrWsa6FmgY+iEHEK5xc=; h=Date:From:To:Subject:From; b=n+3vEus2SV+1vEQ806pk6VWsSpdnoLPZ3wxYxVA+tXnLXP/F5S533AfnR36lLC9FA 7bYjonuBNdAPotAZ4RcX6tYmaRhcxLbhtlYcGkyyXNinsFdOwmj1Q20kDaCuGppPKu NoXYe+/z++u38DEBagfGDd6r3/DYOmRkTa1JQJ4U= Date: Sat, 7 Dec 2024 18:41:59 +0100 From: whiteman808 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Can't sign binary packages using GnuPG Message-ID: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Archives-Salt: 174fa433-f91f-4186-9927-92470ea43f2e X-Archives-Hash: f4d3d1fb639898b54abdb607158f4e2e 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 " 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 " 255-bit EDDSA key, ID 5FD62B1ADB4E8747, created 2024-09-25. Passphrase: ^C Exiting on signal 2