diff --git a/pkg/de-p1st-gnupg/PKGBUILD b/pkg/de-p1st-gnupg/PKGBUILD index dc37ae3..769dbe7 100644 --- a/pkg/de-p1st-gnupg/PKGBUILD +++ b/pkg/de-p1st-gnupg/PKGBUILD @@ -2,7 +2,7 @@ _pkgname=gnupg _reponame=arch pkgname="de-p1st-$_pkgname" -pkgver=0.0.3 +pkgver=0.0.4 pkgrel=2 pkgdesc="gnupg with configuration" arch=('any') @@ -30,5 +30,6 @@ package() { install -dm0700 "$pkgdir"/etc/skel/.gnupg/ install -Dm0600 gpg.conf "$pkgdir"/etc/skel/.gnupg/gpg.conf install -Dm0600 gpg-agent.conf "$pkgdir"/etc/skel/.gnupg/gpg-agent.conf - install -Dm0600 99_gnupg.sh "$pkgdir"/etc/profile.d/99_gnupg.sh + + install -Dm0644 99_gnupg.sh "$pkgdir"/etc/profile.d/99_gnupg.sh } diff --git a/pkg/de-p1st-gnupg/README.md b/pkg/de-p1st-gnupg/README.md index 8fdabd3..bf17bfd 100644 --- a/pkg/de-p1st-gnupg/README.md +++ b/pkg/de-p1st-gnupg/README.md @@ -43,7 +43,7 @@ Location: `~/.gnupg/gpg-agent.conf` # If a graphical application shall use ones smartcard one needs to specify a graphical pinentry program. pinentry-program /usr/bin/pinentry-gnome3 -# Enable ssh to use a smartcard for authentification. +# Enable ssh to use a smartcard for authentication. enable-ssh-support ``` @@ -81,7 +81,10 @@ gpg-connect-agent updatestartuptty /bye >/dev/null * Archwiki: [GnuPG#Set_SSH_AUTH_SOCK](https://wiki.archlinux.org/index.php/GnuPG#Set_SSH_AUTH_SOCK) -One's login shell should run this: +One's login shell should run the following. + +**Note**: `/etc/profile.d/99_gnupg.sh` does **not** work! +**TODO** maybe was just wrong permission? ```shell unset SSH_AGENT_PID diff --git a/pkg/de-p1st-gnupg/gpg-agent.conf b/pkg/de-p1st-gnupg/gpg-agent.conf index 3c096d1..d2efb2a 100644 --- a/pkg/de-p1st-gnupg/gpg-agent.conf +++ b/pkg/de-p1st-gnupg/gpg-agent.conf @@ -2,5 +2,5 @@ # If a graphical application shall use ones smartcard one needs to specify a graphical pinentry program. pinentry-program /usr/bin/pinentry-gnome3 -# Enable ssh to use a smartcard for authentification. +# Enable ssh to use a smartcard for authentication. enable-ssh-support