diff options
author | Ryan Kavanagh <rak@debian.org> | 2012-01-03 11:36:48 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2012-01-03 11:36:48 -0500 |
commit | 1d652330f7d1686fbc329b8f5590762c90af5150 (patch) | |
tree | 2b7b2e3df5e6657dd0c7cf44a78521aac2d4e29b | |
parent | Update maintainer_name in sbuild to use Debian account (diff) |
Better handle encrypted files
Diffstat (limited to '')
-rwxr-xr-x | dm | 15 | ||||
-rw-r--r-- | gpg/.mutt/alias.rc.gpg (renamed from .mutt/alias.rc.gpg) | bin | 3967 -> 3967 bytes | |||
-rw-r--r-- | gpg/.ssh/id_ecdsa.gpg | bin | 0 -> 1731 bytes | |||
-rw-r--r-- | gpg/.ssh/id_rsa.gpg | bin | 0 -> 6272 bytes |
4 files changed, 13 insertions, 2 deletions
@@ -20,6 +20,12 @@ LOCAL_FILES = \ .zshrc \ bin/run-mailcheck +# GPG encrypted files +GPG_FILES = \ + .mutt/alias.rc \ + .ssh/id_ecdsa \ + .ssh/id_rsa + # Files that are system independent. # IMPORTANT: directories must have trailing slash GLOBAL_FILES = \ @@ -96,8 +102,11 @@ build/.xmonad/xmonad.hs: FORCE build/.zsh/func/prompt_wunjo_setup: FORCE FORCE: -.mutt/alias.rc: .mutt/alias.rc.gpg - gpg --decrypt $^ > $@ +.mutt/alias.rc: gpg/.mutt/alias.rc.gpg +.ssh/id_%: gpg/.ssh/id_%.gpg +# $(patsubst gpg/,,$(wildcard gpg/.* gpg/*)) +$(GPG_FILES): + gpg --decrypt gpg/$@.gpg > $@ build/%: % $(SUBSTS_FILE) [ -d $(dir $@) ] || mkdir -p $(dir $@) @@ -181,4 +190,6 @@ verify: clean: rm -fr build +clobber: clean + rm -f $(GPG_FILES) .PHONY: build install clean verify merge diff --git a/.mutt/alias.rc.gpg b/gpg/.mutt/alias.rc.gpg Binary files differindex 74b849b..74b849b 100644 --- a/.mutt/alias.rc.gpg +++ b/gpg/.mutt/alias.rc.gpg diff --git a/gpg/.ssh/id_ecdsa.gpg b/gpg/.ssh/id_ecdsa.gpg Binary files differnew file mode 100644 index 0000000..d35d079 --- /dev/null +++ b/gpg/.ssh/id_ecdsa.gpg diff --git a/gpg/.ssh/id_rsa.gpg b/gpg/.ssh/id_rsa.gpg Binary files differnew file mode 100644 index 0000000..91047ab --- /dev/null +++ b/gpg/.ssh/id_rsa.gpg |