Browse Source

Support non-default gpg key

master
Daniel Gröber 5 months ago
parent
commit
ebb6fd3b46
  1. 1
      .gitignore
  2. 4
      Makefile
  3. 11
      README

1
.gitignore vendored

@ -1 +1,2 @@
*.sig
/local.mk

4
Makefile

@ -6,7 +6,7 @@ check: $(patsubst %.zone,%.check,$(wildcard *.zone))
sign: $(patsubst %,%.sig,$(wildcard *.zone))
%.sig: %
gpg -o $@ --batch --yes --detach-sign $<
gpg $(GPG_FLAGS) -o $@ --batch --yes --detach-sign $<
.PHONY: check-clean
check-clean:
@ -23,3 +23,5 @@ clean:
FORCE:
.PHONY: FORCE
-include local.mk

11
README

@ -18,3 +18,14 @@ SOA for the update to be applied sucessfully on the server side. Emacs does
this by default, just say'in.
Note: Knot handles DNSSEC signing on the server side.
Using a non-default GPG key
---------------------------
Create a file `local.mk` and specify GPG_FLAGS as follows:
```
# local.mk
GPG_FLAGS=--default-key=<YOUR KEY FINGERPRINT>
```

Loading…
Cancel
Save