1. Aug 25, 2018
    • Rudolf Polzer's avatar
      Rewrite the ~/.xscreensaver parser to match XScreenSaver's exactly. · f05b9152
      Rudolf Polzer authored
      Behavioral changes/fixes:
      
      - Whitespace skipping now is performed in all appropriate places.
      - Visual skipping now happens on the same set of visual names.
      - Quoted arguments in commands now work. In fact, so do all other shell
        characters.
      
      One remaining difference though (intentional):
      
      - The program name itself can't be quoted.
      f05b9152
  2. Aug 24, 2018
    • Rudolf Polzer's avatar
      auth_pam_x11: Show "Processing..." message only if PAM didn't print a text before. · 4c031ff0
      Rudolf Polzer authored
      This serves to handle cases such as PAM asking the user to authenticate
      to an external device by asking the user to do something with
      PAM_TEXT_INFO then waiting for the user to do so; we then want to keep
      PAM's message on the screen until the action happens.
      
      Of course, we still do show the processing message if the last action
      was an entry dialog (e.g. password entry).
      
      Also changes on some systems the events on bad password entry:
      
      - Before: Password:, Processing..., Invalid Password, Processing... (sleeping 2 seconds)
      - After: Password:, Processing..., Invalid Password (sleeping 2 seconds)
      
      This gives users more time to read the error message.
      4c031ff0
  3. Aug 21, 2018
  4. Aug 20, 2018
    • Rudolf Polzer's avatar
      auth_pam_x11: measure the prompt timeout in realtime, not monotonic time. · 6909dc77
      Rudolf Polzer authored
      Yes, this means auth_pam_x11 may instant time out when the clock is
      stepped forward by NTP. Trying this out anyway, as:
      
      - This should only be an issue if the clock is stepped forward by more
        than few minutes, as the timeout defaults to 5 minutes.
      - We also put in a specific counter measure against the clock stepping
        backwards - when it does, we simply reset the timeout.
      
      Advantage: that way, auth_pam_x11 will almost always exit on resuming
      from suspend state. This is very desirable so we can control visibility
      of the hostname in a wrapper script.
      6909dc77
  5. Aug 16, 2018
    • Rudolf Polzer's avatar
      Enable the obscurer window by default. · 193c817e
      Rudolf Polzer authored
      Now that it's 1px smaller from all sides, not only should it not cause
      unredirecting (and thus unmapping of the COW) anymore - even better,
      it's forced to be above everything else, so it can even prevent
      unredirecting in case a full-screen application is running, and thus
      makes sure that the COW stays alive.
      193c817e
  6. Aug 15, 2018
  7. Aug 11, 2018
    • Soumya's avatar
      Default XSECURELOCK_FORCE_GRAB to 0 · 0ffdd044
      Soumya authored
      The option is quite intrusive, and the documentation states "use with care", so I think it makes sense to default it to off.
      0ffdd044
  8. Aug 10, 2018
  9. Aug 09, 2018
  10. Aug 08, 2018
  11. Aug 07, 2018
  12. Aug 02, 2018
  13. Aug 01, 2018
  14. Jul 11, 2018
  15. Jul 10, 2018
    • Rudolf Polzer's avatar
      Switch user switch hotkey to Ctrl-Alt-O: · 0fa0d7dd
      Rudolf Polzer authored
      - It's right next to Ctrl-Alt-L on most standard keyboard layouts
        (QWERTY, QWERTZ, AZERTY) so easy to use as a double key combo
        Ctrl-Alt-LO (rather than Ctrl-Alt-LL) to lock and switch.
      
      - It prevents accidental double-taps on L from invoking the user switch
        (annoys some users).
      0fa0d7dd
    • Rudolf Polzer's avatar
      Relax binary name whitelisting: · b26d0e5c
      Rudolf Polzer authored
      - auth_ prefix now applies to the basename, not the entire path.
      - Absolute paths are allowed too as alternatives to paths within the
        helpers path.
      - Savers can now be any binary paths, as long as they do not start with
        auth_ (i.e. now auth_ is forbidden rather than only saver_ allowed).
      
      Fixes #35.
      b26d0e5c
  16. Jun 27, 2018
    • Rudolf Polzer's avatar
      XSECURELOCK_BURNIN_MITIGATION_DYNAMIC: support values > 1. · ee9b452c
      Rudolf Polzer authored
      Might be useful with large fonts and/or 4k screens.
      ee9b452c
    • Rudolf Polzer's avatar
      auth_pam_x11: Add some more knobs for burn-in mitigation. · 4d7f619d
      Rudolf Polzer authored
      XSECURELOCK_AUTH_TIMEOUT (default: 300): number of seconds to wait for
      user input on an auth prompt. This actually matches the previous
      hardcoded setting, but is configurable now.
      
      XSECURELOCK_BURNIN_MITIGATION (default: 16): do not always display the
      auth prompt at the same place, but allow it to be off center by up to
      the given amount of pixels. Helps when the auth screen times out but
      reappears for some reason (e.g. a vibrating desk surface moving the
      mouse).
      
      XSECURELOCK_BURNIN_MITIGATION_DYNAMIC (default: off): allow the auth
      prompt move during a single auth session. Many will find this annoying,
      but it really should fix (by blurring out) any burn-in effects.
      4d7f619d
  17. Jun 23, 2018