Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-4566

Store the user's salt on encrypted datamanagers

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Won't Do
    • Icon: Major Major
    • 1.3.0
    • None
    • None
    • None

      Currently the encrypted datamanager only stores the IV, which is correct. Might exist some scenarios where developers will generate the keys based on PBKDF2 with:

      AeroGear.Crypto().deriveKey( PASSWORD );

      The issue might happen during the encryption when the developer wants to decrypted the data but doesn't have the salt to generate the key again. For a detailed example, please see:

      https://github.com/aerogear/aerogear-js/blob/d2505050563f314375b9e158cc3cbe2f98f552ae/tests/unit/crypto/aerogear.crypto.js#L35

            lholmqui@redhat.com Lucas Holmquist
            boliveir_managed_kafka_security (inactive user) Bruno Oliveira Silva (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: