dot

packages and services management
Log | Files | Refs | README

commit adfe1a31e44f60bac11a0c70e2b51232fe2e0d6c
parent 6ccd2ee2d7b47ba70cc04a1f27a775928e74b4db
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sun,  2 Dec 2018 13:09:32 +0100

gpg agents

Diffstat:
As6/dirmngr/run | 4++++
As6/gpg-agent/josuah/env/USER | 1+
As6/gpg-agent/root/env/USER | 1+
As6/gpg-agent/x/run | 14++++++++++++++
As6/gpg-agent/x/type | 1+
5 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/s6/dirmngr/run b/s6/dirmngr/run @@ -0,0 +1,4 @@ +#!/usr/bin/env execlineb +fdmove -c 2 1 + +dirmngr --supervised diff --git a/s6/gpg-agent/josuah/env/USER b/s6/gpg-agent/josuah/env/USER @@ -0,0 +1 @@ +josuah diff --git a/s6/gpg-agent/root/env/USER b/s6/gpg-agent/root/env/USER @@ -0,0 +1 @@ +root diff --git a/s6/gpg-agent/x/run b/s6/gpg-agent/x/run @@ -0,0 +1,14 @@ +#!/usr/bin/env execlineb +fdmove -c 2 1 +s6-envdir env +multisubstitute { + importas USER USER +} + +backtick -n x { homeof ${USER} } +importas HOME x + +s6-setuidgid ${USER} +s6-ipcserver-socketbinder -d -a 0700 "${HOME}/.gnupg/S.gpg-agent" +fdmove -c 3 0 +gpg-agent -vv --supervised diff --git a/s6/gpg-agent/x/type b/s6/gpg-agent/x/type @@ -0,0 +1 @@ +longrun