From a9b979b011f45d41893806a58ce393671575043f Mon Sep 17 00:00:00 2001 From: Joan Erraez Date: Mon, 3 Aug 2020 10:25:24 +0200 Subject: [PATCH] It can be useful for people that are not really into gpg/pass to know how to export the specficic files needed for UTPass to work properly. --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index c037cf6..0bb867c 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,22 @@ See [Contributing wiki page](https://taiga.rdrive.ovh/project/utpass/wiki/contri The goal is to be closest possible of the features offer by [ZX2C4’s pass command line application](https://www.passwordstore.org/). See [Features wiki page](https://taiga.rdrive.ovh/project/utpass/wiki/contributing) for details. +## Export/Import + +Assuming that there are already passwords in another device using [ZX2C4’s pass command line application](https://www.passwordstore.org/) and, therefore, that [gpg keys](https://gnupg.org/) have been previously generated for encryption purposes, these may be helpful commands: + +Export gpg private keys in order to decrypt passwords: +``` +gpg --output keys.gpg --export-secret-keys +``` + +Export passwords, assuming they reside in *.password-store* folder: +``` +zip passwords.zip -r .password-store/ +``` + +Both files have the correct format for UTPass to import them and work as intended. It is highly recommended to remove them after imported to **UTPass**. + ## License Copyright (C) 2007 Free Software Foundation, Inc. @@ -45,4 +61,5 @@ Some useful links related to UTPass development : * [Ubports](https://ubports.com/) : Ubuntu Touch Community * [ZX2C4’s pass command line application](https://www.passwordstore.org/) : the standard unix password manager. * [Clickable](https://github.com/bhdouglass/clickable) : Compile, build, and deploy Ubuntu Touch click packages +* [GnuPG](https://gnupg.org/): The GNU Privacy Guard * [Gpgme](https://www.gnupg.org/software/gpgme/index.html) : GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier for applications