You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I noticed that using mktemp -d -t gnupg-$(date +%Y-%m-%d)-XXXXXXXXXX on macOS can create long socket paths, causing gpg-agent errors.
Generate the Certify key:
echo"$CERTIFY_PASS"| gpg --batch --passphrase-fd 0 \
--quick-generate-key "$IDENTITY""$KEY_TYPE" cert never
This crashed my gpg-agent. I tried to run daemon manually:
$ gpg-agent --daemon
gpg-agent[18057]: socket name '/var/folders/wm/5cgv84qj2qx_prnfw3h12prh0000gn/T/gnupg-2025-02-03-XXXXXXXXXX.gEpsSuD8aY/S.gpg-agent.extra' is too long
I managed to fix that by recreating temporary directory like:
mktemp -d -t gpg-temp
Which lowered char count from 105 to 68.
The text was updated successfully, but these errors were encountered:
Hey, I noticed that using
mktemp -d -t gnupg-$(date +%Y-%m-%d)-XXXXXXXXXX
on macOS can create long socket paths, causing gpg-agent errors.This crashed my gpg-agent. I tried to run daemon manually:
$ gpg-agent --daemon gpg-agent[18057]: socket name '/var/folders/wm/5cgv84qj2qx_prnfw3h12prh0000gn/T/gnupg-2025-02-03-XXXXXXXXXX.gEpsSuD8aY/S.gpg-agent.extra' is too long
I managed to fix that by recreating temporary directory like:
Which lowered char count from 105 to 68.
The text was updated successfully, but these errors were encountered: