Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Ability to automatically kick out idle devices #10813

Open
ara4n opened this issue Sep 13, 2021 · 4 comments
Open

Ability to automatically kick out idle devices #10813

ara4n opened this issue Sep 13, 2021 · 4 comments
Labels
T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements.

Comments

@ara4n
Copy link
Member

ara4n commented Sep 13, 2021

Some users may want to kick out devices which haven't been used in N days and force the user to log back in, ensuring that if the device is compromised the attacker won't be able to read more than N days of history from the point of compromise.

See https://news.ycombinator.com/item?id=28513878

@aaronraimist
Copy link
Contributor

Is that was session_lifetime does? https://github.com/matrix-org/synapse/blob/develop/docs/sample_config.yaml#L1180-L1189 or does that timer not get reset if the device stays active?

@anoadragon453
Copy link
Member

It doesn't appear that the counter for session_lifetime is reset upon device activity, but this may be a nice addition to add to the feature.

@anoadragon453 anoadragon453 added the T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements. label Sep 14, 2021
@bradtgmurray
Copy link
Contributor

Is this delete_stale_devices_after ?

@DMRobertson
Copy link
Contributor

Related: #14038

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements.
Projects
None yet
Development

No branches or pull requests

5 participants