Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shinosaki/keyhoarder
Lightweight OpenPGP key server (HKP). Works on Cloudflare Workers
https://github.com/shinosaki/keyhoarder
cloudflare-workers hkp keyserver openpgp openpgp-keyserver
Last synced: 10 days ago
JSON representation
Lightweight OpenPGP key server (HKP). Works on Cloudflare Workers
- Host: GitHub
- URL: https://github.com/shinosaki/keyhoarder
- Owner: shinosaki
- License: mit
- Created: 2023-10-15T21:48:18.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-15T22:19:13.000Z (about 1 year ago)
- Last Synced: 2024-10-25T10:46:38.359Z (about 2 months ago)
- Topics: cloudflare-workers, hkp, keyserver, openpgp, openpgp-keyserver
- Language: JavaScript
- Homepage: https://keys.lain.im
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# KeyHoarder
KeyHoarder is the open-source OpenPGP keyserver software. It provides HKP keyserver on Cloudflare Workers, ~~Bun, Node.js~~.
## Features
- Upload ascii armored OpenPGP keys
- Search for keys by Email address, Name or any query
- draft-gallagher-openpgp-hkp-00 compliant's key lookup.
- JSON formatted key lookup## Deploy
1. Set `SITE_NAME` from `wrangler.toml`.
```toml
[vars]
SITE_NAME = "My OpenPGP Keyserver"
```
1. Create KV namespaces. and append KV's id to `wrangler.toml`
```bash
$ npx wrangler kv:namespace create keyhoarder
```
1. Deploy to Cloudflare Workers
```bash
$ npm run deploy
```## Send/Search key with GnuPG
- `--keyserver`: Your keyserver hostname
- `--search-keys`: Your OpenPGP key's email address### Create key
```bash
$ gpg --full-key-gen
```### Send key to your keyserver
```bash
$ gpg --keyserver https://keys.example.com --send-keys
```### Search key
```bash
$ gpg --keyserver https://keys.example.com --search-keys [email protected]
```## Dependencies
- [Hono](https://hono.dev/)
- [OpenPGP.js](https://openpgpjs.org/)
- [Zod](https://zod.dev/)## Author
[Shinosaki](https://shinosaki.com/)## License
[MIT](./LICENSE)