Skip to content

Commit

Permalink
➕ add gpg commands
Browse files Browse the repository at this point in the history
  • Loading branch information
devmount authored Apr 30, 2021
1 parent 200b1a3 commit 7850162
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion sheets/bash.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,14 @@ gpg --list-keys
Encrypt a file

```bash
gpg --encrypt --armor -r some-one@server.com file.txt
gpg --encrypt --armor -r some-one@server.com file.txt # or
gpg -e -u "Sender Name" -r "Receiver Name" file.txt
```

Decrypt a file

```bash
gpg -d file.txt.gpg
```

## PDF
Expand Down

0 comments on commit 7850162

Please sign in to comment.