{ "name": "gnupg", "version": "2.5.24", "summary": "GnuPG: OpenPGP and S/MIME signing and encryption (gpg, gpg-agent, gpgsm, dirmngr, gpgv, gpgtar)", "category": "tool", "license": "GPL-3.0-or-later", "homepage": "https://gnupg.org/", "source": { "url": "https://gnupg.org/ftp/gcrypt/gnupg/gnupg-2.5.24.tar.bz2", "sha256": "bf149d01a2b9fcc0e4589b8ae8697d3d5c557ea48ed95a3fa55dd3b1187e6039" }, "watch": {"kind": "index", "url": "https://gnupg.org/ftp/gcrypt/gnupg/", "regex": "gnupg-([0-9]+(?:\\.[0-9]+)+[a-z]?[0-9]*)\\.tar\\.bz2"}, "deps": [ "libgpg-error", "libgcrypt", "libassuan", "libksba", "npth", "ntbtls", "pinentry", "cacert", "zlib", "bzip2", "sqlite", "readline" ], "env_packages": [], "static": true, "nss": true, "check": "bin/gpg --version | first && t=$(mktemp -d) && chmod 700 \"$t\" && export GNUPGHOME=$t && trap 'bin/gpgconf --kill all' EXIT && bin/gpg-connect-agent --dirmngr 'GETINFO version' /bye | has -x 'D 2.5.24' && g() { bin/gpg --batch --no-tty --pinentry-mode loopback --passphrase bvs-check \"$@\"; } && g --quick-gen-key 'BVS Check ' ed25519 sign never 2>/dev/null && fpr=$(bin/gpg --batch --with-colons --list-keys check@example.invalid | sed -n 's/^fpr:*\\([0-9A-F]\\{40\\}\\):$/\\1/p' | first) && [ -n \"$fpr\" ] && g --quick-add-key \"$fpr\" cv25519 encr never 2>/dev/null && echo 'bvs gnupg check' > \"$t/m\" && g -u \"$fpr\" --detach-sign \"$t/m\" 2>/dev/null && bin/gpg --batch --verify \"$t/m.sig\" \"$t/m\" 2>&1 | has 'Good signature' && g -r \"$fpr\" -o \"$t/m.gpg\" -e \"$t/m\" 2>/dev/null && g -o \"$t/m.out\" -d \"$t/m.gpg\" 2>/dev/null && cmp \"$t/m\" \"$t/m.out\" && printf secret | g -c -o \"$t/s.gpg\" 2>/dev/null && g -d \"$t/s.gpg\" 2>/dev/null | has -x secret && echo \"gnupg: dirmngr answered; an Ed25519 key with a Curve25519 subkey, a signature verified, a file encrypted and decrypted, a passphrase-only file ($fpr)\"" }