You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Yann Autissier c84b59e2cf new input/output format 2 months ago
docker new input/output format 2 months ago
specs new input/output format 2 months ago
.shellspec wip: export keys from gpg 6 months ago
COPYING add gpgkey 7 months ago
Makefile new input/output format 2 months ago
README.md add multiple input/output file formats 2 months ago
crypto_pb2.py add gpgkey 7 months ago
dpgpid add gpgkey 7 months ago
keygen new input/output format 2 months ago
requirements.txt new input/output format 2 months ago

README.md

dpgpid - Decentralized PGP IDentifiers

A world of trust with Decentralized IDentifiers on IPFS.

Disclaimer

This is work in progress ;)

Requirements

  • gpg
  • ipfs
  • pinentry
  • python3
  • python3-pip

Usage

dpgpid

dpgpid helps you to publish, retrieve and sign ed25519 keys with decentralized identifiers on IPFS.

  • Show identifiers
$ dpgpid show

keygen

keygen helps you to generate or convert an ed25519 key in different formats.

  • Show duniter public key for user "username" and password "password"
$ keygen username password
  • Show IPFS PeerID and PrivKEY for user "username" and password "password"
$ keygen -pk -t ipfs username password
  • Show duniter public and secret keys for GPG key matching uid "username" and locked with password "password"
$ keygen -pkg username password
  • Write secret key to a pem pkcs8 file for user "username" and password "password"
$ keygen -o /tmp/ipns.pem username password
  • Write secret key to a wif file for user "username" and password "password"
$ keygen -f wif -o /tmp/duniter.wif username password
  • Write base58 public and secret keys to a pubsec file for user "username" and password "password"
$ keygen -f pubsec -o /tmp/duniter.pubsec username password

Tests

Run tests

$ make tests

Status

Alpha version, file and output formats may change without retro compatibility.

References