wallet-simple

command
v0.0.0-...-251bbda Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2020 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Overview

The wallet-simple command generates a new random secret and prints it along with the matching Ripple address.

Usage: wallet-simple [-secret sXXXX]
Options:
  -secret="": Ripple secret, if empty gernate a random one

Examples:

> wallet-simple
 secret: sp6JS7f14BuwFY8Mw6bTtLKWauoUs
address: rJq5ce8cdbWBsysXx32rvLMV6DUxMwruMT

> wallet-simple -secret sp6JS7f14BuwFY8Mw6bTtLKWauoUs
rJq5ce8cdbWBsysXx32rvLMV6DUxMwruMT

To build/install use "go get" as with any other go package/program. See the README at https://bitbucket.org/dchapes/ripple for more detailed instructions if you're unfamiliar with Go.

This command is purposefully as simple and small as reasonably possible so that it can be reviewed/audited without any extra complications.

The following items, at a minimum, would need to be reviewed/audited to have some confience in this command's ability to securely generate secrets:

  • The command's main function. It uses the rkey package in the most simple way possible.
  • The rkey package. In particular it's use of crypto/rand to generate the random seed and its further progression into the encoded secret and the encoded Ripple address.
  • The Kollitz curve implementation (used to calculate and show the matching Ripple address).
  • The relevant Go base packages used, in particular crypto/rand.
  • The underlying operating system's random device used by crypto/rand. On Unix-like systems, /dev/urandom is used and is typically good, on MS-Windows the CryptGenRandom API used and may be suspect.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL