This project aims to create a decentralized key server for PGP keys using attestations. The goal is to make it easy for users to attest that a public key is valid and display a trust score for that key’s validity, creating a web of trust model between users and their public keys.
- Attestations: Allow users to easily attest to the validity of a PGP key.
- Trust Score: Create a trust score based on attestations between keys.
- Trust Verification: Check the trust score for a given key.
- Node.js
- npm, yarn, pnpm, or bun
-
Clone the repository:
git clone https://github.com/lucas-op/decentralized-pgp-key-server.git cd decentralized-pgp-key-server
-
Install dependencies:
npm install # or yarn install # or pnpm install # or bun install
-
Run the development server:
npm run dev # or yarn dev # or pnpm dev # or bun dev
-
Open the application: Open http://localhost:3000 with your browser to see the result.
- GET /keys/{keyId}/trust-score: Get the trust score for a given key.
- GET /keys/{keyId}/attestations: Get all attestations for a given key.
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions or suggestions, feel free to open an issue.