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

Encrypt credentials in memory #1349

Open
wants to merge 68 commits into
base: master
Choose a base branch
from
Open

Commits on Oct 9, 2023

  1. Initialize Android KeyStore

    avazirna committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    49c6586 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. Configuration menu
    Copy the full SHA
    09d9900 View commit details
    Browse the repository at this point in the history
  2. Refactor getSecretKey

    avazirna committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    c95b7c8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    676442b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    93f33c8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cd6c546 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f20986c View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2023

  1. Return plain username

    avazirna committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    7968312 View commit details
    Browse the repository at this point in the history
  2. Lint

    avazirna committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    c5d3f94 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2023

  1. Configuration menu
    Copy the full SHA
    7b0a54d View commit details
    Browse the repository at this point in the history
  2. Refactor

    avazirna committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    a22ff5a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3647d76 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c485e5a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b075ac9 View commit details
    Browse the repository at this point in the history
  6. Lint

    avazirna committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    eff308b View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2023

  1. Refactor

    avazirna committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    99e70fd View commit details
    Browse the repository at this point in the history
  2. Refactor

    avazirna committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    efdc30a View commit details
    Browse the repository at this point in the history
  3. Lint

    avazirna committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    448f074 View commit details
    Browse the repository at this point in the history
  4. Update comments

    avazirna committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    0c39c5a View commit details
    Browse the repository at this point in the history
  5. Set platform KeyStore name

    avazirna committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    5b66cc4 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2023

  1. Lint

    avazirna committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    8feef57 View commit details
    Browse the repository at this point in the history
  2. Refactor

    avazirna committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    659f47e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f6ac37d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c67c1df View commit details
    Browse the repository at this point in the history
  5. Add unit tests for RSA

    avazirna committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    e151f5f View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2023

  1. Configuration menu
    Copy the full SHA
    1069a52 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2023

  1. Configuration menu
    Copy the full SHA
    87f6a93 View commit details
    Browse the repository at this point in the history
  2. Formatting

    avazirna committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    aae5ff2 View commit details
    Browse the repository at this point in the history
  3. JavaDoc

    avazirna committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    5f561fb View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2023

  1. Add EncryptionKeyAndTransformation class

    This class was copied from CommCare Connect
    avazirna committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    92cef42 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fcf749d View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2023

  1. Configuration menu
    Copy the full SHA
    276c050 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0a32085 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0b39e88 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    03f0ac0 View commit details
    Browse the repository at this point in the history
  5. Refactor

    This refactoring was primarily motivated by the introduction of encryption key providers
    that are responsible for providing key management services when using  KeyStores
    avazirna committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    eb4b3ed View commit details
    Browse the repository at this point in the history
  6. JavaDoc updates

    avazirna committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    409a6f5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5fe6f00 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2023

  1. Lint

    avazirna committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    20b2068 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2023

  1. Refactor

    avazirna committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    4c429d4 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. Configuration menu
    Copy the full SHA
    dbb1983 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2023

  1. Lint

    avazirna committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    0b771c7 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2023

  1. Lint

    avazirna committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    db3d264 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7c9f89d View commit details
    Browse the repository at this point in the history
  3. Rename key alias

    avazirna committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    fb70f9b View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2023

  1. Add key algorithms constants

    avazirna committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    acd23a9 View commit details
    Browse the repository at this point in the history
  2. Comment

    avazirna committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    41cb1f2 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2023

  1. Configuration menu
    Copy the full SHA
    dd45f8d View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2024

  1. Revert "Add unit tests for RSA"

    This reverts commit e151f5f.
    avazirna committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    19fc7d8 View commit details
    Browse the repository at this point in the history
  2. Remove RSA option for encryption with encoded string

    This was added to standardize the behavior of both encryption key sources
    (Key store and base64 encoded key) however, there no immediate application
    for it and the direction now is to isolate the RSA logic and only use it
    on devices running versions prior to Android 6
    avazirna committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    3767176 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2024

  1. Rmove BasicEncryptionKeyProvider

    This was a non-keystore provider
    avazirna committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    5b8f281 View commit details
    Browse the repository at this point in the history
  2. Add EncryptionKeyHelper class

    This helper will be responsible for retrieving an encryption key from
    either the KeyStore or by converting a base64 encoded String
    avazirna committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    2f269e8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    df1575a View commit details
    Browse the repository at this point in the history
  4. Update javadoc

    avazirna committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    f7ab55b View commit details
    Browse the repository at this point in the history
  5. Refactor

    avazirna committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    10352e1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c3b79b9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    94b0062 View commit details
    Browse the repository at this point in the history
  8. Refactor

    avazirna committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    f176952 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7a82c35 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    96f0b04 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ffc0c96 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. Configuration menu
    Copy the full SHA
    58ffb32 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b2a8da9 View commit details
    Browse the repository at this point in the history
  3. Refactor

    avazirna committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    8c7363a View commit details
    Browse the repository at this point in the history
  4. Update javadocs

    avazirna committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    188e22b View commit details
    Browse the repository at this point in the history
  5. Refactor

    avazirna committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    a2928bd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bd512d6 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2024

  1. Configuration menu
    Copy the full SHA
    4716bda View commit details
    Browse the repository at this point in the history