1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:15 +02:00
This commit is contained in:
kev 2015-07-17 01:34:44 +08:00
parent 4a4140c663
commit 47b2118d7d
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ dnscrypt
$ cd dnscrypt
$ fig up -d wrapper
$ docker exec -it dnscrypt_wrapper_1 cat provider_keypair.txt
$ docker exec -it dnscrypt_wrapper_1 cat README.txt
Public key fingerprint: 4C29:9CEB:CF8D:4612:48A8:B2F2:3B6F:A046:EBF5:2F2B:6433:27C6:5F3A:88F5:495E:3075
## Client

View File

@ -46,7 +46,7 @@ RUN apt-get update \
RUN mkdir -p /var/lib/dnscrypt-wrapper \
&& cd /var/lib/dnscrypt-wrapper \
&& dnscrypt-wrapper --gen-provider-keypair \
&& dnscrypt-wrapper --gen-provider-keypair > README.txt \
&& dnscrypt-wrapper --gen-crypt-keypair --crypt-secretkey-file=1.key \
&& dnscrypt-wrapper --gen-cert-file --crypt-secretkey-file=1.key --provider-cert-file=1.cert