summaryrefslogtreecommitdiff
path: root/i3lock.c
AgeCommit message (Collapse)Author
2017-07-17added functional keypress image spec, loads slow if you use many high res ↵knolax
images.
2017-07-17functional implementation of images for auth indicator stateknolax
2017-07-17added image keypress and auth state indicator options, as well as loading of ↵knolax
auth state indicator option images to auth_images
2017-04-17Restore intended behaviour and don't use mlock(2) on OpenBSD.Jasper Lievisse Adriaanse
2017-04-17Use bsd_auth(3) instead of PAM on OpenBSDJasper Lievisse Adriaanse
Also apply two security measures for OpenBSD: - use explicit_bzero(3) - mlock(2) works for non-root users too
2017-04-15Move all PAM code behind UES_PAM and enable that by default.Jasper Lievisse Adriaanse
2017-04-15Rename all PAM-independant variables/comments.Jasper Lievisse Adriaanse
there is nothing PAM-specific about pam_state or pam_state_t. therefore rename them to be authenticator independant.
2016-11-09Add Enter on C-m (#103)Nicolò Balzarotti
2016-09-27Displaying locking message when grabbing the pointer/keyboard. (#88)eplanet
Display "locking…" message when grabbing the pointer/keyboard, after at least 250 ms of unfruitful attempts. If grabbing eventually fails, application will not fork and return 1.
2016-09-13i3lock: Stop leaking the image_path dup. (#93)Diogo Ferreira
2016-09-04unlock automatically after authentication failure (#90)koebi
This will make i3 unlock automatically after authentication failure and correct input without pressing <Enter> again after the "wrong"-indicator is gone.
2016-07-20Removed obsolete inactivity timeout (#84)Florian Zipperle
* Removed obsolete inactivity timeout
2016-06-03clang-format-3.5Michael Stapelberg
Not sure why travis didn’t warn about this on the PR. The only reference to the PR I can find is https://travis-ci.org/i3/i3lock/builds/130470377
2016-05-25Add support for `xss-lock --transfer-sleep-lock' (#75)Christoph Ruegge
Add support for `xss-lock --transfer-sleep-lock'
2016-04-30Allow CTRL+J as enter and CTRL+H as backspace (#72)Karl Tarbe
fixes #71
2015-12-25Show unlock indicator if password was entered during PAM verificationMichael Stapelberg
fixes #51
2015-12-25Eat XKB_KEY_Delete and XKB_KEY_KP_Delete (Thanks bebehei)Michael Stapelberg
fixes #50
2015-11-07Remove libxkbfile dependency from README.md/commentsMichael Stapelberg
It has not been in use since commit 7eb43aeabd7a5eb71927520c427debb45eab05f2
2015-11-05fix pam_securetty: set PAM_TTY to getenv("DISPLAY")Michael Stapelberg
fixes #43
2015-08-11Remove DPMS support in favor of a wrapper script and xset(1).Michael Stapelberg
fixes #32
2015-07-02Indicate that the --inactivity-timeout option takes an argument.Kenneth Lyons
2015-04-24Only redraw the screen if the unlock indicator is actually used.Ingo Bürk
fixes #12
2015-04-21Update copyright notices and get rid of rangesDeiz
The script used to make these changes can be found at: https://gist.github.com/Deiz/32322020f76d23e2bf8f
2015-03-29List generic pressed modifiers on failureDeiz
2015-03-28Add capslock and numlock indicatorsAlexandre Boeglin
When the unlock indicator warns the user that a password was typed wrong, it now also reports the state of the capslock and numlock modifiers. Signed-off-by: Alexandre Boeglin <alex@boeglin.org>
2015-03-26refresh pam credentials on successful authenticationJames Cassidy
2015-03-16clang-format -i **/*.[ch]Michael Stapelberg
From here on, we’ll use clang-format to automatically format the source. This has worked well in i3, so we are introducing it for i3lock.
2015-02-12Update the key symbol if the composing ends.Daniel Otero
2015-02-12Avoid handle a keysym if the compose state gets cancelledDaniel Otero
This is the approach taken by libX11, and feels more consistent.
2015-02-12Remove xkb_context initialization code from load_compose_tableDaniel Otero
xkb_context is guaranteed to be initializated from load_keymap.
2015-02-12Add support for Compose and dead-keys with libxkbcommonDaniel Otero
2015-01-06getpwuid call movedMartin Stiborsky
2015-01-05null check for getpwuid and pw_nameMartin Stiborsky
2015-01-05removed the whoami function, replaced with an inline getpwuid callMartin Stiborsky
2015-01-05getting current user with whoami like function rather than from env variableMartin Stiborsky
2014-10-13Ignore password validation is pam is in wrong stateNeodyblue
This add a protection against wrong password spamming
2014-08-24implemented logging the number of failed attemptskoebi
This closes #1243
2014-08-21Die when the X11 connection breaks during runtime (Thanks Eduan)Michael Stapelberg
2014-06-21remove obsolete xkb_state_update_key() calls (Thanks Ran)Michael Stapelberg
2014-06-21listen for XKB events instead of the MappingNotify event (Thanks Ran)Michael Stapelberg
2014-06-21little cleanups thanks to Ran Benita’s reviewMichael Stapelberg
2014-06-21use libxkbcommon-x11 instead of libX11Michael Stapelberg
2014-03-23Cleanup scattered timer calls to use macrosVytautas Šaltenis
2014-03-23Ignore empty passwd after repeated Enter keypressVytautas Šaltenis
When no ignore_empty_password flag is specified, but Enter key is held down for some time, i3lock enters a finite, but hours-long loop verifying empty password. Don't do that, skip empty password verification if nothing was pressed after last Enter keypress. Again, making the software cat-proof.
2014-03-23Fix typoVytautas Šaltenis
2014-03-23Discard half-entered passwd after some inactivityVytautas Šaltenis
When you start typing a password and then wander off, let's discard that attempt after a few minutes of inactivity (and turn off the monitors if dpms is on). This is a real actual case of making the software cat-proof: when my cat treads over the keyboard at night, I don't want the monitors to shine for the rest of the night.
2014-03-23Delay to turn off the screen after wrong passwdVytautas Šaltenis
Also add flag for number of seconds to wait for it. When user cancels the password or enters a wrong one, i3lock will wait for some time before putting the monitors back to sleep. By default it's 30 seconds, but this flag allows to control that.
2014-03-16Replace '1' with "EXIT_FAILURE"TheKK
2014-03-11Extract start/stop timer code to reusable funcsVytautas Šaltenis
2014-03-11Extract if(dpms) calls to wrapper functionsVytautas Šaltenis