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

Add Crypto Algorithm, KeyManager, and KMS to crypto package #152

Merged
merged 41 commits into from
Jul 10, 2023
Merged

Commits on Jul 9, 2023

  1. KeyManager, CryptoAlgorithm, and KMS prototyping

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    3dfd8ee View commit details
    Browse the repository at this point in the history
  2. Add Convert utility and secp256k1 and Ed25519 crypto algorithm implem…

    …entations
    
    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    a8e0c30 View commit details
    Browse the repository at this point in the history
  3. All tests passing

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    9b1cfbb View commit details
    Browse the repository at this point in the history
  4. Added ECDH X25519 and improved tests

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    e86432a View commit details
    Browse the repository at this point in the history
  5. Refactor functions to options object style

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    7aaff7e View commit details
    Browse the repository at this point in the history
  6. Increase test coverage

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    b437553 View commit details
    Browse the repository at this point in the history
  7. Finish tests for default KMS key stores

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    d6b2094 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f69952e View commit details
    Browse the repository at this point in the history
  9. Implement deriveBits() in KeyManager and DefaultKms and improve test …

    …coverage
    
    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    4a31807 View commit details
    Browse the repository at this point in the history
  10. Before attempting to support multiple import options

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    a57527d View commit details
    Browse the repository at this point in the history
  11. Implement importKey() in KeyManager and DefaultKms

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    a58f89d View commit details
    Browse the repository at this point in the history
  12. Move AWS and GCP KMS prototyping out of crypto package

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    16a7ac0 View commit details
    Browse the repository at this point in the history
  13. Internal structure refactor

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    3936b26 View commit details
    Browse the repository at this point in the history
  14. Rename ecc dir to ec and implement base AES alg with tests

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    4089419 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    8486941 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    befdbc6 View commit details
    Browse the repository at this point in the history
  17. Add Hex<->ArrayBuffer to Convert utility

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    2772466 View commit details
    Browse the repository at this point in the history
  18. Implement AES-CTR encrypt() and decrypt()

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    319c900 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    31f58f6 View commit details
    Browse the repository at this point in the history
  20. Implement decrypt() for LocalKms

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    b3969c4 View commit details
    Browse the repository at this point in the history
  21. Implement decrypt() and encrypt() in KeyManager

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    698aab6 View commit details
    Browse the repository at this point in the history
  22. Improve comments for crypto primitives

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    6c4b926 View commit details
    Browse the repository at this point in the history
  23. Remove cloud KMS prototyping

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    135c755 View commit details
    Browse the repository at this point in the history
  24. Added several new Convert methods

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    5292205 View commit details
    Browse the repository at this point in the history
  25. Added Concat KDF crypto primitive

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    aad62e1 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    5d63f37 View commit details
    Browse the repository at this point in the history
  27. Bump to common 0.1.1

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    94992af View commit details
    Browse the repository at this point in the history
  28. Add XChaCha20 algorithm

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    3dedede View commit details
    Browse the repository at this point in the history
  29. Split out utils into separate test file

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    9b71851 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    1e0b2e0 View commit details
    Browse the repository at this point in the history
  31. Replace old data conversion functions with Convert utility

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    94225f1 View commit details
    Browse the repository at this point in the history
  32. Add Multicodec utility to common package

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    f744955 View commit details
    Browse the repository at this point in the history
  33. Move MemoryStore to common package

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    8ef1305 View commit details
    Browse the repository at this point in the history
  34. Reorganizing prior to submitting PR

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    60618ed View commit details
    Browse the repository at this point in the history
  35. Move types into directory and ignore in code coverage

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    49fa7b1 View commit details
    Browse the repository at this point in the history
  36. Minor formatting changes

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    4d05292 View commit details
    Browse the repository at this point in the history
  37. Minor fix and formatting changes

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    b2f3a49 View commit details
    Browse the repository at this point in the history
  38. Rename crypto algorithms

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    c514767 View commit details
    Browse the repository at this point in the history
  39. Add AES-GCM crypto primitive

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    160eea9 View commit details
    Browse the repository at this point in the history
  40. Increase test coverage for common package

    Signed-off-by: Frank Hinek <[email protected]>
    frankhinek committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    a233276 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    b6db3c8 View commit details
    Browse the repository at this point in the history