From b0792f1cff462cfd2a4986544ef3c0df07522289 Mon Sep 17 00:00:00 2001 From: Rui Coelho Date: Tue, 30 Jan 2024 00:08:12 +0000 Subject: [PATCH] Update README.md --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index a67de41..ada4eb0 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,19 @@ If you want to use [Pass](https://www.passwordstore.org/) you can execute the fo gpg --batch --passphrase '' --quick-gen-key USER_ID default default ``` +Get key: + +```bash +gpg2 --list-secret-keys --keyid-format LONG + +sec 4096R/AAAA2222CCCC4444 2021-03-18 [expires: 2023-03-18] uid John Doe +``` + +Init pass: +```bash +pass init 'AAAA2222CCCC4444' +``` + Execute: ```bash