VolumeFi / paloma

The fast blockchain messenger protocol
Apache License 2.0
3 stars 2 forks source link

[LIGHTNODE]BUG: "show-keys" command gpg: can't connect to the agent: General error #2121

Closed joycehermosilla closed 1 month ago

joycehermosilla commented 1 month ago
$HOME/Downloads/setup.sh show-keys
v1: Pulling from palomachain/lightnode-client
Digest: sha256:90dfad23587e167a43eee106124f90e5706b59ec061f4cb611ebf07da03d48d3
Status: Image is up to date for palomachain/lightnode-client:v1
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
gpg: error running '/usr/bin/gpg-agent': exit status 2
gpg: failed to start agent '/usr/bin/gpg-agent': General error
gpg: can't connect to the agent: General error
gpg: decryption failed: No secret key
migrate err for key yoya2.info: "exit status 2"
gpg: error running '/usr/bin/gpg-agent': exit status 2
gpg: failed to start agent '/usr/bin/gpg-agent': General error
gpg: can't connect to the agent: General error
gpg: decryption failed: No secret key
migrate err for key yoya3.info: "exit status 2"
No records were found in keyring
maharifu commented 1 month ago

Fixed with https://github.com/VolumeFi/lightnode-client/commit/978e1e51e0ff12c89575997bd514516a5e090fac The issue seems to be stale gpg-agent socket files. We not deleted them when starting the script so they can be recreated when gpg-agent starts.