aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohamed Zenadi <zeapo@users.noreply.github.com>2015-03-14 18:43:51 +0100
committerMohamed Zenadi <zeapo@users.noreply.github.com>2015-03-14 18:43:51 +0100
commit37db0f45ee56d322229652d75a494a96aca0e822 (patch)
tree81bf826e2ef9d0c8fa351759b79a4d39233a7c7a
parent977649613395d78076f9ea870197a1297742bfec (diff)
parent7a04d2eb7b8bf899108b73a1e8971f81b37ea70a (diff)
Merge pull request #67 from jvenant/patch-1
Add some info about how to export / import ssh and gpg keys
-rw-r--r--README.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4d8b0aa2..dca63d6a 100644
--- a/README.md
+++ b/README.md
@@ -52,6 +52,28 @@ How-To
======
*Note:* This section is work in progress
+Generate a ssh key for your git repo
+--------------------------------------------
+- Generate the private and public key
+```
+ssh-keygen -C droid_phone -b 2048 -t rsa -f /tmp/id_rsa_droid
+```
+- Copy the public key `/tmp/id_rsa_droid.pub` on your ssh server and add in to the `~/.ssh/authorized_keys` file
+```
+cat id_rsa_droid.pub >> ~/.ssh/authorized_keys
+```
+- Copy the private key `/tmp/id_rsa_droid`to your phone and import it in your Android-Password_Store app through the settings
+
+Export your gpg private key
+--------------------------------------------
+- Get your pass script gpg id(s) ie: `cat ~/.password-store/.gpg-id`
+- You can also get a full ids list using `gpg -k`
+- Export your private key with
+```
+gpg --export-secret-key [the_id] > keys.asc
+```
+- Import it in OpenKeychain
+
Clone using SSH-key, then decrypt a password
--------------------------------------------