summaryrefslogtreecommitdiff
path: root/gpg/list-keys.sh
blob: 4166fa597a9d09a2fcc879e54dcad60825cef102 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

if [ -z "$1" ]; then
  echo "Usage: $0 <environment> [ .. additional parameters passwd on to gpg2 .. ]"
  exit 1
fi
NAME="$1"
shift

exec "${BASH_SOURCE%/*}/gpg2.sh" "$NAME" --list-keys "$@"