forked from cloudflare/plexi
-
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.
Also add a readme
- Loading branch information
Showing
6 changed files
with
329 additions
and
34 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# plexi | ||
|
||
Plexi is a flexible auditor for [Transparency systems](https://blog.cloudflare.com/key-transparency). | ||
|
||
This software has not been audited. Please use at your sole discretion. | ||
|
||
## Feature highlights | ||
* Verify [akd](https://github.com/facebook/akd) based signatures | ||
|
||
## Installation | ||
|
||
| Environment | CLI Command | | ||
|:-------------------|:--------------------------------------------------------------------------------| | ||
| Cargo (Rust 1.74+) | `cargo install plexi_cli --git https://github.com/cloudflare/plexi --bin plexi` | | ||
|
||
## Usage | ||
|
||
### Verify akd signature | ||
|
||
Once the namespace and the epoch is set, the following command should return `Signature valid`. | ||
|
||
```shell | ||
NAMESPACE="test.whatsapp.key-transparency.v1" | ||
EPOCH="434592" | ||
AUDITOR_PUBLIC_KEY="$(curl -sS 'https://akd-auditor.cloudflare.com/info' | jq -r '.keys[0].public_key')" | ||
|
||
curl -sS "https://akd-auditor.cloudflare.com/namespaces/${NAMESPACE}/audits/${EPOCH}" | \ | ||
plexi verify --namespace "${NAMESPACE}" --publickey "${AUDITOR_PUBLIC_KEY}" | ||
``` | ||
|
||
## Contributing | ||
Please see our [contribution guidelines](./.github/CONTRIBUTING.md). | ||
|
||
## License | ||
This project is Licensed under [Apache License, Version 2.0](./LICENSE). |
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
Oops, something went wrong.