Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated encrypt / decrypt implementations to use IVs #323

Merged
merged 4 commits into from
Jul 31, 2019

Conversation

Exulansis
Copy link
Collaborator

Updated the SoftwareKeyProvider class and it's associated tests.

Implements #322


**Instantiate the Key Provider class**

The ``SoftwareKeyProvider`` class abstracts all functionality related to `deriving key pairs <https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki>`_ and creating / validating cryptographic signatures.
The 32 byte seed used to instantiate the key provider is persisted in the instance, encrypted using the provided password. Therefore, all operations which involve key derivation require the password as well.
This is what instantiating a key provider looks like:
Currently two ways of instantiating the class are supported, namely using the constructor or using the static ``fromSeed`` method:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just as a side note: also recover key pair creates a new softwareKeyProvider and takes the mnemonic as argument. But it's probably more confusing than helpful at this point.

@saifahn saifahn merged commit 28af229 into develop Jul 31, 2019
@saifahn saifahn deleted the 322/add_IVs_AES branch July 31, 2019 13:00
@VolkerSchiewe VolkerSchiewe mentioned this pull request Nov 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants