Skip to content
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.

softsign: Fix private key decoding + import command (closes #290) #304

Merged
merged 1 commit into from
Jul 25, 2019

Conversation

tony-iqlusion
Copy link
Contributor

@tony-iqlusion tony-iqlusion commented Jul 25, 2019

This fixes the inconsistencies between Base64 and binary/"raw" private keys, and adds key conversion which can take a priv_validator.json file or a "raw" (i.e. binary) private key and convert it to the Base64 format used by the softsign backend.

Additionally, it adds a key_format configuration option allowing it
to load private keys from any of the supported key formats.

This should be sufficient to resolve the problems in #290, although I also plan on making the private key format a configuration option.

This fixes the inconsistencies between Base64 and binary/"raw" private
keys, and adds key conversion which can take a `priv_validator.json`
file or a "raw" (i.e. binary) private key and convert it to the Base64
format used by the `softsign` backend.

Additionally, it adds a `key_format` configuration option allowing it
to load private keys from any of the supported key formats.

This should be sufficient to resolve the problems in #290, although I
also plan on making the private key format a configuration option.
@tarcieri tarcieri force-pushed the softsign/import-bugfixes-and-subcommand branch from 28baf54 to f324201 Compare July 25, 2019 06:13
@tarcieri tarcieri merged commit 9ae0d4a into master Jul 25, 2019
@tarcieri tarcieri deleted the softsign/import-bugfixes-and-subcommand branch July 25, 2019 06:22
This was referenced Jul 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants