35

paperkey - proof-of-concept for a tool that generates paperkeys and uses them to...

 4 years ago
source link: https://github.com/jeromebaum/paperkey
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Paperkey

This is a proof-of-concept/demo/experiment for a tool that generates paperkeys and uses them to sign/encrypt. The paperkeys use 14 words, similar to what keybase does.

To build this, create the file english.txt in the root of the repo. This file should contain 2048 words, for example downloaded from bip-0039. I'm not including an english.txt so that I don't have to worry about licensing/copyright concerns.

Obviously, don't use this in production. It's just something I hacked together to play around with libsodium and sketch out an idea.

Usage

paperkey [options] COMMAND

Commands:

  Private paperkey operations:

    generate         Generate a new paperkey
    validate         Validate a paperkey
    decrypt          Decrypt a file using a paperkey
    sign             Sign a file using a paperkey

  Public paperkey operations:

    encrypt          Encrypt a file to a paperkey
    verify           Verify a file signed by a paperkey

Options:
  -h, --help                 Show this help

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK