Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liuyuhe666/gpg-key
🔑 GPG key: ABA6AA235B1DEB89F63831F6FDB9D26CF8A02895
https://github.com/liuyuhe666/gpg-key
Last synced: 11 days ago
JSON representation
🔑 GPG key: ABA6AA235B1DEB89F63831F6FDB9D26CF8A02895
- Host: GitHub
- URL: https://github.com/liuyuhe666/gpg-key
- Owner: liuyuhe666
- License: gpl-3.0
- Created: 2024-08-06T09:07:15.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-06T09:34:34.000Z (6 months ago)
- Last Synced: 2024-08-06T11:31:24.384Z (6 months ago)
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
🔑 GPG key: [`ABA6AA235B1DEB89F63831F6FDB9D26CF8A02895`](https://keys.openpgp.org/vks/v1/by-fingerprint/ABA6AA235B1DEB89F63831F6FDB9D26CF8A02895)
GPG key hosted at [GitHub](https://github.com/liuyuhe666.gpg)
## 加密文件
```bash
gpg --recipient ABA6AA235B1DEB89F63831F6FDB9D26CF8A02895 --output hi.txt.gpg --encrypt hi.txt
```- `--recipient`: 指定接收者的公钥
- `--output`: 指定加密后的文件名
- `--encrypt`: 指定需要加密的源文件## 解密文件
```bash
gpg --output result.txt --decrypt hi.txt.gpg
```
对方收到加密文件后,就可以用自己的私钥进行解密。