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

Cross-signing: refactor secret storage loading at startup and show user shield in member details panel #1062

Merged
merged 36 commits into from
Mar 27, 2023

Commits on Feb 28, 2023

  1. Store cross-signing keys in format as returned from server, in separa…

    …te store
    
    This will make it easier to sign and verify signatures with these keys,
    as the signed value needs to have the same layout when signing and
    for every verification.
    bwindels committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    1510905 View commit details
    Browse the repository at this point in the history
  2. Store device keys in format needed to sign/verify, convert to TS

    In order to sign and verify signatures of design keys, we need
    to have them in the format as they are uploaded and downloaded
    from the homeserver. So, like the cross-signing keys, we store
    them in locally in the same format to avoid constant convertions.
    
    I also renamed deviceIdentities to deviceKeys, analogue to
    crossSigningKeys. In order to prevent mistakes in this refactor,
    I also converted DeviceTracker to typescript.
    bwindels committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    b8fb2b6 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2023

  1. Configuration menu
    Copy the full SHA
    daf66e1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a9412aa View commit details
    Browse the repository at this point in the history
  3. make sure the key property doesn't leak out of the storage layer

    as it ends up in the value we're signing and uploading,
    corrupting the signature
    bwindels committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    4dce93e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    20a6fcd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    504d869 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    34b113b View commit details
    Browse the repository at this point in the history
  7. cleanup comments

    bwindels committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    3a303ff View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    fa662db View commit details
    Browse the repository at this point in the history
  9. cleanup

    bwindels committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    9789e58 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    1dc3aca View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2023

  1. Configuration menu
    Copy the full SHA
    7d806b0 View commit details
    Browse the repository at this point in the history
  2. rename deviceTrackingStatus to keysTrackingStatus

    as this field also reflects the tracking status of the cross-signing
    keys for a given user.
    bwindels committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    c747d5f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2563aa2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    08984ad View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    eff495c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c2ee824 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    774efc1 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4c7f784 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    149f187 View commit details
    Browse the repository at this point in the history
  10. fix ts error

    bwindels committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    e00d02a View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2023

  1. Configuration menu
    Copy the full SHA
    bae18c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f1ecad5 View commit details
    Browse the repository at this point in the history
  3. delay signature validation of cross-signing keys until calculating trust

    always store them, if not we'll think that the user hasn't uploaded
    the cross-signing keys if we don't store them in spite of invalid or
    missing signature.
    bwindels committed Mar 7, 2023
    Configuration menu
    Copy the full SHA
    a065189 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a69246f View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2023

  1. remove unused transaction

    bwindels committed Mar 9, 2023
    Configuration menu
    Copy the full SHA
    760da62 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2023

  1. WIP

    bwindels committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    780dfeb View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2023

  1. WIP2

    bwindels committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    dd59f37 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2023

  1. don't reuse existing transaction to read from 4S, as webcrypto termin…

    …ates idb transactions
    bwindels committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    762a91b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    90faad5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d170c6f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9383246 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2023

  1. show shield as icon

    bwindels committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    6abc918 View commit details
    Browse the repository at this point in the history
  2. add newlines between getters

    bwindels committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    21729a6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2214061 View commit details
    Browse the repository at this point in the history