-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fa59625
commit 05e3bab
Showing
47 changed files
with
352 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,3 @@ | |
|
||
## Under Construction | ||
|
||
|
||
|
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
# GNUPGP | ||
|
||
A GPG certificate allows us to encrypt email messages, encrypt files, and authenticate code in git repositories, as well as being able to use it with Pass to have a local password manager. | ||
|
||
|
||
#### Create keys GPG | ||
``` | ||
gpg --full-generate-key | ||
``` | ||
|
||
#### View GPG keys | ||
``` | ||
gpg --list-key | ||
``` | ||
|
||
List keys GPG install | ||
|
||
Short format | ||
``` | ||
gpg --keyid-format short --list-keys | ||
``` | ||
|
||
Long format | ||
``` | ||
gpg --keyid-format long --list-keys | ||
``` | ||
|
||
Other options | ||
``` | ||
gpg --list-secret-keys gpg <your_email> | ||
``` | ||
|
||
``` | ||
gpg --fingerprint <your_email>/<ID> | ||
``` | ||
|
||
#### Delete GPG keys | ||
|
||
Delete public gpg | ||
``` | ||
gpg --delete-key <your_email> | ||
``` | ||
|
||
Delete private gpg | ||
``` | ||
gpg --delete-secret-key <your_email> | ||
``` | ||
|
||
|
||
#### Export GPG Keys | ||
|
||
Export public key | ||
``` | ||
gpg --export -a <your_email>/<ID> | ||
``` | ||
|
||
!!! warning | ||
Store the private key in a safe place and with a strong password | ||
|
||
Export private key | ||
``` | ||
gpg --export-secret-key -a <your_email>/<ID> | ||
``` | ||
|
||
Export Revoke key | ||
``` | ||
gpg --gen-revoke <your_email>/<ID> | ||
``` | ||
|
||
#### Import GPG keys | ||
Import public and private key | ||
``` | ||
gpg --import <name_file_gpg.key> | ||
``` | ||
|
||
#### Renew subkeys | ||
|
||
``` | ||
gpg --edit-key <your_email>/<ID> | ||
gpg>key [ID-subkeys] | ||
gpg> expire | ||
gpg>save | ||
``` | ||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Pass | ||
|
||
Password management should be simple and follow Unix philosophy. With Pass, each password lives inside of a gpg encrypted file whose filename is the title of the website or resource that requires the password. | ||
These encrypted files may be organized into meaningful folder hierarchies, copied from computer to computer, and, in general, manipulated using standard command line file management utilities. | ||
Pass is a simple password manager for the command line. | ||
|
||
|
||
Pass is a shell script that makes use of existing tools like GnuPG, tree and Git. | ||
|
||
!!! note | ||
Before configuring Pass you need to have a GPG certificate to encrypt the credentials. | ||
|
||
To get started with Pass, follow these steps: | ||
|
||
|
||
#### Install | ||
1. Install Pass: You can install Pass by running the following command in your terminal: | ||
``` | ||
sudo apt-get install pass | ||
``` | ||
2. Generate a GPG key pair: If you don't have a GPG key pair yet, you can generate one by running the following command: | ||
``` | ||
gpg --full-generate-key | ||
``` | ||
3. Initialize Pass: Once you have a GPG key pair, you can initialize Pass by running the following command: | ||
``` | ||
pass init <[email protected]> | ||
``` | ||
4. Add a password: To add a password, use the following command: | ||
``` | ||
pass insert <website-or-resource> | ||
``` | ||
This will prompt you to enter the password for the website or resource. Pass will then encrypt and store the password in a file. | ||
5. Retrieve a password: To retrieve a password, use the following command: | ||
``` | ||
pass show <website-or-resource> | ||
``` | ||
This will display the decrypted password on the command line. | ||
Remember to always keep your GPG key pair secure and backup your Pass password store regularly. | ||
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Oops, something went wrong.