2022-05-13 19:40:16 +02:00
|
|
|
# dpgpid - Decentralized PGP IDentifiers
|
|
|
|
|
2022-09-18 13:55:41 +02:00
|
|
|
A world of trust with Decentralized IDentifiers on IPFS.
|
|
|
|
|
2022-05-13 19:40:16 +02:00
|
|
|
## Disclaimer
|
|
|
|
|
|
|
|
This is work in progress ;)
|
|
|
|
|
2022-09-18 13:55:41 +02:00
|
|
|
## Requirements
|
|
|
|
|
|
|
|
* gpg
|
|
|
|
* ipfs
|
|
|
|
* pinentry
|
|
|
|
* python3
|
|
|
|
* python3-pip
|
|
|
|
|
2022-05-13 19:40:16 +02:00
|
|
|
## Usage
|
|
|
|
|
2022-09-18 13:55:41 +02:00
|
|
|
### dpgpid
|
|
|
|
|
|
|
|
dpgpid helps you to publish, retrieve and sign ed25519 keys with decentralized identifiers on IPFS.
|
|
|
|
|
|
|
|
* Show identifiers
|
2022-05-13 19:40:16 +02:00
|
|
|
|
|
|
|
```shell
|
|
|
|
$ dpgpid show
|
|
|
|
```
|
|
|
|
|
2022-09-18 13:55:41 +02:00
|
|
|
### keygen
|
|
|
|
|
|
|
|
keygen helps you to generate an ed25519 key in different formats
|
|
|
|
|
|
|
|
* Show duniter public key for user "username" and password "password"
|
|
|
|
|
|
|
|
```shell
|
|
|
|
$ keygen username password
|
|
|
|
```
|
|
|
|
|
|
|
|
* Show IPFS PeerID and PrivKEY for user "username" and password "password"
|
|
|
|
|
|
|
|
```shell
|
|
|
|
$ keygen -pk -t ipfs username password
|
|
|
|
```
|
|
|
|
|
|
|
|
* Show duniter public and secret keys for GPG key matching uid "username" and protected with password "password"
|
|
|
|
|
|
|
|
```shell
|
|
|
|
$ keygen -pkg username password
|
|
|
|
```
|
|
|
|
|
2022-05-13 19:40:16 +02:00
|
|
|
## Tests
|
|
|
|
|
|
|
|
Run tests
|
|
|
|
|
|
|
|
```shell
|
|
|
|
$ make tests
|
|
|
|
```
|
|
|
|
|
|
|
|
## Status
|
|
|
|
|
2022-09-18 13:55:41 +02:00
|
|
|
Alpha version, file and output formats may change without retro compatibility.
|
2022-05-13 19:40:16 +02:00
|
|
|
|
|
|
|
## References
|
|
|
|
|
2022-09-18 13:55:41 +02:00
|
|
|
* [Inter Planetary IDentifiers](https://did-ipid.github.io/ipid-did-method/) did method
|