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

WIP feat(core-crypto): Rework crypto package to be instance-based #3742

Closed
wants to merge 150 commits into from

Conversation

bertiespell
Copy link
Contributor

Summary

WIP Implementation of #3628

Refactors the Crypto package to be instance based - this is now split into two packages:

  1. Crypto which contains default cryptography methods and managers, identities, transactions (and their de/serialisation methods) and libraries.
  2. Core-Crypto which wraps the other Crypto package, and which provides a more complete CryptoSuite, which also includes schema validation and blocks (including factory methods/managers, and de/serialisation methods).

This allows more than one configuration to be loaded at run-time, avoids relying on global variables or the node module cache. This in turn reduces bugs caused by subtly shared state.

Checklist

  • Documentation (if necessary)
  • Tests (if necessary)
  • Ready to be merged

@lgtm-com
Copy link

lgtm-com bot commented Jun 10, 2020

This pull request introduces 1 alert when merging 5884991 into 8a2033a - view on LGTM.com

new alerts:

  • 1 for Insecure randomness

@lgtm-com
Copy link

lgtm-com bot commented Jun 10, 2020

This pull request introduces 1 alert when merging 242037e into 8a2033a - view on LGTM.com

new alerts:

  • 1 for Insecure randomness

@lgtm-com
Copy link

lgtm-com bot commented Jun 10, 2020

This pull request introduces 1 alert when merging 5fdc249 into 8a2033a - view on LGTM.com

new alerts:

  • 1 for Insecure randomness

@lgtm-com
Copy link

lgtm-com bot commented Jun 10, 2020

This pull request introduces 1 alert when merging 6450264 into 8a2033a - view on LGTM.com

new alerts:

  • 1 for Insecure randomness

@lgtm-com
Copy link

lgtm-com bot commented Jun 10, 2020

This pull request introduces 1 alert when merging 5149778 into 8a2033a - view on LGTM.com

new alerts:

  • 1 for Insecure randomness

@lgtm-com
Copy link

lgtm-com bot commented Jun 11, 2020

This pull request introduces 1 alert when merging 81a3557 into 4b68d5f - view on LGTM.com

new alerts:

  • 1 for Insecure randomness

@faustbrian faustbrian marked this pull request as draft June 19, 2020 03:56
@faustbrian
Copy link
Contributor

Closing due to feedback that was given internally.

@faustbrian faustbrian closed this Jun 22, 2020
@ghost ghost removed the Status: Blocked label Jun 22, 2020
@faustbrian faustbrian deleted the rework-crypto-package/3628 branch September 22, 2021 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants