Commit: 4a8356cce2cf293d8ab50875c1f3050008d573dc
Parent: ec1d6d7bec45370c8f6993eb7177fcc97d7dc3ba
Author: Klemens Nanni
Date: Mon, 29 Feb 2016 20:52:47 +0100
Do not look for .gpg-id file (pass compatibility)
Diffstat:
2 files changed, 1 insertion(+), 9 deletions(-)
diff --git a/README.pod b/README.pod
@@ -45,10 +45,6 @@ GPG key to encrypt files with (default: self).
The default storage directory.
-=item I<~/.tpm/.gpg-id>
-
-Provided for compatibility with pass(1).
-
=back
=head1 EXAMPLES
@@ -75,4 +71,4 @@ List all entries of the group 'system':
=head1 SEE ALSO
-gpg2(1), pass(1), pwgen(1), xclip(1)
+gpg2(1), pwgen(1), xclip(1)
diff --git a/tpm b/tpm
@@ -21,10 +21,6 @@ umask 077
GPG_OPTS="--quiet --yes --batch"
STORE_DIR="${PASSWORD_STORE_DIR:-${HOME}/.tpm}"
-if [ -r "${STORE_DIR}/.gpg-id" ] && [ -z "${PASSWORD_STORE_KEY}" ]; then
- read -r PASSWORD_STORE_KEY < "${STORE_DIR}/.gpg-id"
-fi
-
if [ -n "${PASSWORD_STORE_KEY}" ]; then
GPG_OPTS="${GPG_OPTS} --recipient ${PASSWORD_STORE_KEY}"
else