summaryrefslogtreecommitdiff
path: root/src/kiki-import-stdin
blob: 2fd25d6381871723e2991159f85569491166edc2 (plain)
1
2
3
4
5
6
7
#!/bin/sh
tempd=$(mktemp -d) || exit
cat > "$tempd"/ring.gpg
kiki import-public --import --autosign --import-if-authentic --keyrings "$tempd"/ring.gpg
r=$?
rm -rf "$tempd"
exit $r