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 config to disallow manual double puppeting #1

Merged
merged 3 commits into from
Feb 16, 2024

Commits on Feb 2, 2024

  1. Add config to disallow manual double puppeting

    as some instances may want to discourage users from sharing their Matrix
    access tokens.
    
    Disabling manual double puppeting still allows automatic double
    puppeting for any server configured with a login shared secret.
    
    If both manual and automatic double puppeting are enabled for a user,
    allow `login-matrix` to replace the server-managed Matrix token with
    the one given by the command.
    
    Also add the `refresh-matrix` command to fix potential issues with
    automatically-managed double puppet sessions.
    AndrewFerr committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    0d999a2 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2024

  1. Configuration menu
    Copy the full SHA
    c019f36 View commit details
    Browse the repository at this point in the history
  2. Revert matrix token refreshing, disable overriding

    Notably, disallow (but don't hide) manual double puppeting commands for
    users whose DP tokens are managed automatically.  This averts some edge
    cases that could happen otherwise.
    AndrewFerr committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    dc13f53 View commit details
    Browse the repository at this point in the history