I would like to trust a gpg key with a javascript code:
const { exec } = require("child_process"); exec("echo -e "5 y "" + " | " + "gpg --command-fd 0 --expert --edit-key <key-id> trust")
But the trust-level of the gpg key is always unknown. What is wrong?
1.4m articles
1.4m replys
5 comments
56.9k users