pass: really switch to gpg
This commit is contained in:
parent
59c5fc3992
commit
6828e76979
|
@ -0,0 +1,14 @@
|
||||||
|
Index: pass-1.7.4/src/password-store.sh
|
||||||
|
===================================================================
|
||||||
|
--- pass-1.7.4.orig/src/password-store.sh
|
||||||
|
+++ pass-1.7.4/src/password-store.sh
|
||||||
|
@@ -9,8 +9,7 @@ set -o pipefail
|
||||||
|
GPG_OPTS=( $PASSWORD_STORE_GPG_OPTS "--quiet" "--yes" "--compress-algo=none" "--no-encrypt-to" )
|
||||||
|
GPG="gpg"
|
||||||
|
export GPG_TTY="${GPG_TTY:-$(tty 2>/dev/null)}"
|
||||||
|
-which gpg2 &>/dev/null && GPG="gpg2"
|
||||||
|
-[[ -n $GPG_AGENT_INFO || $GPG == "gpg2" ]] && GPG_OPTS+=( "--batch" "--use-agent" )
|
||||||
|
+GPG_OPTS+=( "--batch" "--use-agent" )
|
||||||
|
|
||||||
|
PREFIX="${PASSWORD_STORE_DIR:-$HOME/.password-store}"
|
||||||
|
EXTENSIONS="${PASSWORD_STORE_EXTENSIONS_DIR:-$PREFIX/.extensions}"
|
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'pass'
|
# Template file for 'pass'
|
||||||
pkgname=pass
|
pkgname=pass
|
||||||
version=1.7.4
|
version=1.7.4
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_install_args="WITH_BASHCOMP=yes WITH_ZSHCOMP=yes WITH_FISHCOMP=yes"
|
make_install_args="WITH_BASHCOMP=yes WITH_ZSHCOMP=yes WITH_FISHCOMP=yes"
|
||||||
depends="bash gnupg>=2 tree which"
|
depends="bash gnupg>=2 tree"
|
||||||
checkdepends="gnupg tree which git"
|
checkdepends="gnupg tree git"
|
||||||
short_desc="Stores, retrieves, generates, and synchronizes passwords securely"
|
short_desc="Stores, retrieves, generates, and synchronizes passwords securely"
|
||||||
maintainer="teldra <teldra@rotce.de>"
|
maintainer="teldra <teldra@rotce.de>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
|
|
Loading…
Reference in New Issue