system-config/playbooks/roles/edit-secrets-script/files/edit-secrets
Clark Boylan 3ec0861e6b Add edit-secrets script to bridge.o.o
This adds a script that will wrap emacs with gpg-agent when editing the
secrets file. This avoids issues with rogue gpg-agents running on the
system.

Change-Id: Ic3cc73b5c25eab2ede41d8ca05b5695b817973d9
2019-02-27 08:45:11 -08:00

3 lines
65 B
Bash

#!/bin/sh
gpg-agent --daemon emacs /root/passwords/passwords.gpg