move away from openpgp.org
Fetching the Public key from openpgp.org is not feasible, as per StackOverflow answer
We need a better way to handle this. either host our stuff or make better stuff
{"level":10,"time":1675166723513,"pid":18695,"hostname":"wossio-remotesigner-q118lpohtds","msg":"Request started"}
{"level":10,"time":1675166723514,"pid":18695,"hostname":"wossio-remotesigner-q118lpohtds","msg":"Checking the nodejs version ..."}
{"level":10,"time":1675166723515,"pid":18695,"hostname":"wossio-remotesigner-q118lpohtds","msg":" Nodejs : 18>=16"}
{"level":10,"time":1675166723515,"pid":18695,"hostname":"wossio-remotesigner-q118lpohtds","msg":"Parsing arguments ..."}
{"level":10,"time":1675166723516,"pid":18695,"hostname":"wossio-remotesigner-q118lpohtds","msg":" Got the command to sign /home/gitpod/.local/share/pnpm/nodejs/18.13.0/bin/node /usr/local/bin/remote-signer --status-
fd=2 -bsau Daniel Maricic <daniel@woss.io>"}
{"level":10,"time":1675166723516,"pid":18695,"hostname":"wossio-remotesigner-q118lpohtds","msg":"Executing script in sign mode"}
{"level":10,"time":1675166723516,"pid":18695,"hostname":"wossio-remotesigner-q118lpohtds","msg":"Finding signing key ..."} {"level":10,"time":1675166723516,"pid":18695,"hostname":"wossio-remotesigner-q118lpohtds","msg":" Key found in GPG_SIGN_KEY env variable"} {"level":50,"time":1675166736442,"pid":18695,"hostname":"wossio-remotesigner-q118lpohtds","err":{"type":"FetchError","message":"request to https://keys.openpgp.org/vks/v1/by-fingerprint/3595E4B1EB3363FB7C4F78CC12F55F75B1EB0FA4 failed, reason: getaddrinfo EAI_AGAIN keys.openpgp.org","stack":"FetchError: request to https://keys.openpgp.org/vks/v1/by-fingerprint/3595E4B1EB3363FB7C4F78CC12F55F75B1EB0FA4 failed, reason: getaddrinfo EAI_AGAIN keys.openpgp.org\n at ClientRequest.<anonymous> (/usr/local/bin/remote-signer:23653:11)\n at ClientRequest.emit (node:events:513:28)\n at TLSSocket.socketErrorListener (node:_http_client:496:9)\n at TLSSocket.emit (node:events:513:28)\n at emitErrorNT (node:internal/streams/destroy:151:8)\n at emitErrorCloseNT (node:internal/streams/destroy:116:3)\n at process.processTicksAndRejections (node:internal/proces
s/task_queues:82:21)","errno":"EAI_AGAIN","code":"EAI_AGAIN","erroredSysCall":"getaddrinfo"},"msg":"request to https://keys.openpgp.org/vks/v1/by-fingerprint/3595E4B1EB3363FB7C4F78CC12F55F75B1EB0FA4 failed, reason: get
addrinfo EAI_AGAIN keys.openpgp.org"}
Edited by Daniel Maricic