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 Diffie-Hellman key exchange for encryption to Account #809

Merged
merged 39 commits into from
Jun 6, 2022

Commits on Apr 12, 2022

  1. Configuration menu
    Copy the full SHA
    64e3a35 View commit details
    Browse the repository at this point in the history
  2. add bindings and rust example

    Henrique Nogara committed Apr 12, 2022
    Configuration menu
    Copy the full SHA
    3ae13b0 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2022

  1. add bindings example

    Henrique Nogara committed Apr 13, 2022
    Configuration menu
    Copy the full SHA
    4fad35f View commit details
    Browse the repository at this point in the history
  2. Add key_exchange, encrypt_data, decrypt_data to memstore, change encr…

    …ypt/decrypt data signature
    Henrique Nogara committed Apr 13, 2022
    Configuration menu
    Copy the full SHA
    348f588 View commit details
    Browse the repository at this point in the history
  3. Solve merge conflicts - docs

    Henrique Nogara committed Apr 13, 2022
    Configuration menu
    Copy the full SHA
    fa2b7cd View commit details
    Browse the repository at this point in the history
  4. Add nonce to EncryptedData

    Henrique Nogara committed Apr 13, 2022
    Configuration menu
    Copy the full SHA
    2653298 View commit details
    Browse the repository at this point in the history
  5. Add associated data into EncryptedData

    Henrique Nogara committed Apr 13, 2022
    Configuration menu
    Copy the full SHA
    5ff7c45 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2022

  1. remove key_exchange from storage, remove encryption_key type, add alg…

    …orithm encryption, move key_exchange to encrypt/decrypt functions
    Henrique Nogara committed Apr 18, 2022
    Configuration menu
    Copy the full SHA
    5ee2a43 View commit details
    Browse the repository at this point in the history
  2. remove unnecessary into

    Henrique Nogara committed Apr 18, 2022
    Configuration menu
    Copy the full SHA
    7440131 View commit details
    Browse the repository at this point in the history
  3. Generate random shared secret location

    Henrique Nogara committed Apr 18, 2022
    Configuration menu
    Copy the full SHA
    fdce9bf View commit details
    Browse the repository at this point in the history
  4. Remove generic crypto error

    Henrique Nogara committed Apr 18, 2022
    Configuration menu
    Copy the full SHA
    80d00ad View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2022

  1. Add crypto::error::Error as source for new errors

    Henrique Nogara committed Apr 19, 2022
    Configuration menu
    Copy the full SHA
    60110d3 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2022

  1. Add encryption option - with cek enum

    Henrique Nogara committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    3b9a871 View commit details
    Browse the repository at this point in the history
  2. Add EncryptionOptions to bindings and to memstore

    Henrique Nogara committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    5ac4b30 View commit details
    Browse the repository at this point in the history
  3. Make PublicKey mandatory in the storage trait, return an error when u…

    …sing a ED25519 key for encryption/decryption
    Henrique Nogara committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    d74f0fa View commit details
    Browse the repository at this point in the history

Commits on May 6, 2022

  1. Merge pull request #840 from iotaledger/chore/merge-update-resolution…

    …-example
    
    Update resolution example to use the new Resolver (#838)
    eike-hass committed May 6, 2022
    Configuration menu
    Copy the full SHA
    17c6208 View commit details
    Browse the repository at this point in the history
  2. Doc/resolve (#823)

    Oliver E. Anderson authored and eike-hass committed May 6, 2022
    Configuration menu
    Copy the full SHA
    fe61a9f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f636bfe View commit details
    Browse the repository at this point in the history
  4. Upgrade to new Stronghold interface (#787)

    * Rename stronghold module
    
    * Postfix old stronghold with `_old`
    
    * Migrate to new stronghold interface
    
    * Impl did_create properly with client syncing
    
    * Add context to `StrongholdError`s
    
    * Add `Stronghold` wrapper test
    
    * Add `test_key_delete`
    
    * Add storage_test_suite setup & did_create test
    
    * Re-export test suite feature
    
    * Expose test suite in Wasm
    
    * Extend `did_create` test, fix index persistence
    
    * Test `key_generate`
    
    * Move `key_delete` to test suite
    
    * Remove test suite from this branch
    
    * Add initial test suite and expose to Wasm
    
    * rm `Error` postfix from `StrongholdError` variants
    
    * Remove duplicate `mod tests` in Wasm
    
    * Handle client sync error; document syncing
    
    * Use updated stronghold
    
    * Use dedicated `load_snapshot` function
    
    * Purge client in `did_purge`
    
    * Revert cfg_attr shenanigans
    
    * Make `Stronghold::client` not async
    
    * Remove asyncness from fns where not necessary
    
    * Make `mutate_client` not async either
    
    * Move test_util mod where it belongs
    
    * Remove `source` errors from `Display` impl
    
    * Remove `RecordHint` everywhere
    
    * Use base crate `MemoryError`; remove engine dep
    
    * Revert temporary send/sync change
    
    * Document `Stronghold` wrapper
    
    * Use same export style as other crates
    
    * Create parent directories if they don't exist
    
    * Remove outdated TODO
    
    * Fix index writing in purge; update stronghold rev
    
    * Remove old stronghold wrapper
    
    * Reactivate multi identity example
    
    * Add `dropsave` getter/setter
    
    * Fully qualify `std::any::type_name`
    
    * Remove tests which are already in test suite
    
    * Reactivate `Send`-assertion test
    
    * Return `Stronghold` instance from test `storages`
    
    * Test incorrect password returns error
    
    * Use `OsRng` instead of `thread_rng`
    
    * Bump stronghold revision
    
    * Remove unused `getrandom` depenency
    
    * Remove unused `actix` dependency
    
    * Remove tokio `rt-multi-thread` feature
    
    * Prefer `sample_string` over `sample_iter`
    
    * Enable `didPurge` test for NAPI stronghold
    
    * Simplify `did_create` by using `mutate_client`
    
    * Rename doc/state client paths to store keys
    
    * Add procedure_error fn to reduce err map code
    
    * Remove unnecessary clone
    
    * Disable multiple identities example temporarily
    
    * Disable musl build
    
    * Remove musl target from stronghold-nodejs
    
    * use local workflow file
    
    * Revert "use local workflow file"
    
    This reverts commit 2f12afd.
    
    Co-authored-by: Eike Haß <eike-hass@web.de>
    PhilippGackstatter and eike-hass committed May 6, 2022
    Configuration menu
    Copy the full SHA
    0bfe13d View commit details
    Browse the repository at this point in the history
  5. Solve merge conflict - change vault to client

    Henrique Nogara committed May 6, 2022
    Configuration menu
    Copy the full SHA
    310909a View commit details
    Browse the repository at this point in the history

Commits on May 9, 2022

  1. add concat_kdf procedure

    Henrique Nogara committed May 9, 2022
    Configuration menu
    Copy the full SHA
    a158282 View commit details
    Browse the repository at this point in the history
  2. add concat kdf for memstore

    Henrique Nogara committed May 9, 2022
    Configuration menu
    Copy the full SHA
    933409d View commit details
    Browse the repository at this point in the history

Commits on May 20, 2022

  1. rename Cekalgorithm struct; remove error variant; add constructor to …

    …bindings new function
    Henrique Nogara committed May 20, 2022
    Configuration menu
    Copy the full SHA
    30e76fd View commit details
    Browse the repository at this point in the history

Commits on May 23, 2022

  1. Solve merge conflicts with dev

    Henrique Nogara committed May 23, 2022
    Configuration menu
    Copy the full SHA
    5801bae View commit details
    Browse the repository at this point in the history

Commits on May 31, 2022

  1. Merge branch 'dev' into feat/dh-key-exchange

    Henrique Nogara committed May 31, 2022
    Configuration menu
    Copy the full SHA
    7105108 View commit details
    Browse the repository at this point in the history
  2. Improve error msg; Add feature to cargo toml; Replace client for reso…

    …lver
    Henrique Nogara committed May 31, 2022
    Configuration menu
    Copy the full SHA
    a7cf428 View commit details
    Browse the repository at this point in the history
  3. Add ephemeral key for ECDH-ES

    Henrique Nogara committed May 31, 2022
    Configuration menu
    Copy the full SHA
    a503a16 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2022

  1. Add test for stronghold encryption; Fix rust example; Add feature for…

    … account encryption; Improve docs
    Henrique Nogara committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    4fce141 View commit details
    Browse the repository at this point in the history
  2. Sync comments for traits, account, and wasm

    Henrique Nogara committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    6c3b21c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    411bebb View commit details
    Browse the repository at this point in the history
  4. Add test for storage test suite; Fix padding in Memstore

    Henrique Nogara committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    0048fcf View commit details
    Browse the repository at this point in the history
  5. Rename outdated file

    Henrique Nogara committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    d6f3bc6 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2022

  1. Add exception for encryption methods in MemStore

    Henrique Nogara committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    e26e4df View commit details
    Browse the repository at this point in the history
  2. Fix naming in javascript; Switch back to ThreadRng

    Henrique Nogara committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    1bb17be View commit details
    Browse the repository at this point in the history
  3. Remove useless variable

    Henrique Nogara committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    e7cbc4b View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2022

  1. Improve docs; Make EncryptedData fields pub

    Henrique Nogara committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    fd66590 View commit details
    Browse the repository at this point in the history
  2. Fix readme

    Henrique Nogara committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    aed448c View commit details
    Browse the repository at this point in the history
  3. Undo removal of files

    Henrique Nogara committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    f9500a8 View commit details
    Browse the repository at this point in the history
  4. Fix function call

    Henrique Nogara committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    7efdfe0 View commit details
    Browse the repository at this point in the history