Paste number 304383: gpg with .wot

Paste number 304383: gpg with .wot
Pasted by: phf
When:6 years, 11 months ago
Share:Tweet this! |
Paste contents:
Raw Source | XML | Display As

tmpdir=`mktemp -d /tmp/fooXXX`

import_remote() {
    gpg --homedir "$tmpdir" --keyserver --recv-keys "$1"

cleanup() {
    rm -rf "$tmpdir"
trap cleanup EXIT

# should we even pull a key from outside wot?
import_remote 0xAB07D806D2CE741FB886EE50B025BA8B59C36319

for pubkey in "$wotdir"/*.asc; do
    gpg --homedir "$tmpdir" --import "$pubkey"

exec gpg --homedir "$tmpdir" $@

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.