Skip to content

Mod Synchronizer 0.1.15 for 26.2

Choose a tag to compare

@OctoMiku01 OctoMiku01 released this 25 Oct 21:46
· 9 commits to main since this release

Added

  • Expiring GitHub logins are renewed: with "Expire user authorization tokens" on in the GitHub App, a login lasts 8 hours and comes with a refresh token that lasts 6 months. Mod Synchronizer renews the token shortly before it runs out, without a client secret (GitHub does not ask for one with tokens from the device flow). Once the refresh token is gone or withdrawn, the next sync asks for a new login.

Changed

  • The login is kept encrypted: on Windows, ~/.modsync/github-token is encrypted with DPAPI, the protection the Windows credential manager uses, so only the same Windows account can read it. Elsewhere only its owner may read it. A plain file from before, or an access code written into it by hand, is encrypted at the next start.