From: Benjamin Mako Hill Date: Mon, 19 Feb 2018 00:43:55 +0000 (-0800) Subject: remove the dependency on gpg X-Git-Url: https://code.communitydata.science/uw_tex_letterhead.git/commitdiff_plain/0bb99e94619f2a166e67f61a0289a341472e1832 remove the dependency on gpg I removed the dependency on GPG by making the encrypted signature file optional rather than required. --- diff --git a/.gitignore b/.gitignore index f05e9ec..bdb380c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ ## files from here *.pdf -figures/signature.pdf ## From: https://github.com/github/gitignore/blob/master/TeX.gitignore ## Core latex/pdflatex auxiliary files: diff --git a/Makefile b/Makefile index 3441f9b..4a26058 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,9 @@ ENC_SIGIMAGE = figures/signature.pdf.gpg DEC_SIGIMAGE = figures/signature.pdf -all: figures/signature.pdf $(patsubst %.tex,%.pdf,$(wildcard *.tex)) +# to use encrypted signatures files, add "figures/signature.pdf" (no +# quotes) right before the first $( in the following line: +all: $(patsubst %.tex,%.pdf,$(wildcard *.tex)) figures/signature.pdf: gpg --yes --output $(DEC_SIGIMAGE) --decrypt $(ENC_SIGIMAGE) @@ -14,7 +16,8 @@ figures/signature.pdf: clean: latexmk -C *.tex $(RM) -f *.tmp *.run.xml - $(RM) -f $(DEC_SIGIMAGE) + # to use encrypted signature files, uncomment the following line + # $(RM) -f $(DEC_SIGIMAGE) viewpdf: all evince *.pdf diff --git a/README b/README index 51e3413..2a15c1f 100644 --- a/README +++ b/README @@ -29,10 +29,16 @@ will required: * GNU Make: https://www.gnu.org/software/make/ * latexmk: https://ctan.org/pkg/latexmk?lang=en -The signature file (a gray image) is GPG encrypted file using a -symmetric cipher. The passphrase is "weakpassword" (without -quotes). You will want to customize this. For this file, you will also -need GPG installed in the system. + +Encrypted signatures files +=========================== + +If you'd like, you can encrypt the signature file. There are several +lines you in the Makefile you can uncomment to do this. We've included +an optional encrypted copy of the fake signature file. To use it, the +passphrase is "weakpassword" (without quotes). You will want to +customize this. To use this, you will also need the GNU Privacy Guard +(GPG) installed on your system. Contributing changes