Update README.md

Export keys in ascii format
This commit is contained in:
grahovam
2016-03-21 19:22:09 +01:00
parent 26ae9a337a
commit fe9cb6ecce

View File

@@ -138,16 +138,16 @@ You will be asked to enter the name of the backup. If your private gpg key has a
#### Q: How do I generate a GPG key? #### Q: How do I generate a GPG key?
Create a key with ```gpg --gen-key``` and export them. Execute the following: ```gpg --gen-key```
#### Q: How do I export a GPG Key from my key chain, so that it can be used in a container volume? #### Q: How do I export a GPG Key from my key chain, so that it can be used in a container volume?
```bash ```bash
gpg --output ~/path/to/volume/myKey.gpg.pub --export myBackup@myDomain.com gpg --output ~/path/to/volume/myKey.gpg.pub --export -a myBackup@myDomain.com
gpg --output ~/path/to/volume/myKey.gpg --export-secret-keys myBackup@myDomain.com gpg --output ~/path/to/volume/myKey.gpg --export-secret-keys -a myBackup@myDomain.com
``` ```
#### Q: What can I do if I generate a GPG Key and it tells me I need more entropy? #### Q: What can I do if I generate a GPG Key and it tells me I need more entropy?