Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-05-21 | update CFLAGS handling | 1 | -4/+7 | ||
2024-01-01 | update copyright for 2024 | 3 | -3/+3 | ||
2023-01-03 | update copyright for 2023 | 3 | -3/+3 | ||
2022-01-03 | update copyright for 2022 | 3 | -3/+3 | ||
2021-05-10 | make the compiler happy | 1 | -1/+1 | ||
Depending on build flags the compiler complains: ykfde.c:307:3: error: ignoring return value of ‘getrandom’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] Let's add the return value to `len`, which is no longer used anyway. Fixes #33 | |||||
2021-01-01 | update copyright for 2021 | 3 | -3/+3 | ||
2020-11-25 | Makefile: change order of compiler parameters | 1 | -3/+3 | ||
2020-11-25 | clearly state the license | 3 | -14/+35 | ||
2020-11-25 | exchange challenge files | 1 | -5/+12 | ||
This makes sure that the challenge file is never non-existent. | |||||
2020-11-25 | sync challenge file to disk before closing | 1 | -0/+4 | ||
2020-02-08 | update copyright for 2020 | 3 | -3/+3 | ||
2019-02-18 | completly replace rand() with getrandom() | 1 | -12/+10 | ||
2019-02-18 | do not use hardcoded size | 1 | -1/+1 | ||
2019-02-18 | replace getrandom() with getentropy() | 1 | -1/+1 | ||
2019-02-17 | Seed with real random number | 1 | -5/+7 | ||
2019-01-01 | update copyright for 2019 | 3 | -3/+3 | ||
2018-04-01 | fix compiler warning/error with GCC 8.x | 1 | -1/+1 | ||
GCC 8.x reports: worker.c:66:2: error: 'strncpy' specified bound 108 equals destination size [-Werror=stringop-truncation] Replace strncpy() with memcpy(), fixes #25. | |||||
2018-01-29 | improve systemd notification handling | 1 | -1/+3 | ||
2018-01-19 | less conditions for string duplication | 1 | -4/+4 | ||
This makes sure second_factor is not NULL and prevents later NULL dereferences. Fixes #23. | |||||
2018-01-02 | update copyright for 2018 | 3 | -3/+3 | ||
2017-11-25 | link required libraries only | 1 | -6/+6 | ||
2017-11-21 | prevent systemd from reporting failed with result 'protocol' | 1 | -3/+5 | ||
A systemd service with Type=notify expects READY=1. | |||||
2017-10-30 | update the logic for second factor | 1 | -9/+20 | ||
2017-10-30 | make sure the worker is run from systemd service | 2 | -2/+15 | ||
2017-07-03 | undo the changes with session keyringsystemd-v234 | 1 | -16/+1 | ||
The keyring handling has been fixed with systemd v234, so revert using the session keyring. | |||||
2017-06-22 | rename the worker program | 2 | -3/+425 | ||
This is no longer just udev... So rename and move. | |||||
2017-06-20 | Rework the code, update keyring handlingsystemd-v233 | 1 | -1/+1 | ||
This had some historical issue... So rework the code: * split into more functions * drop the sleep and notify logic * update keyring handling Depending on setup and systemd version (233 and up) the keyring handling fails. Try to fix this by... * writing to session keyring first * setting permissions * linking to user keyring * unlinking from session keyring https://mjg59.dreamwidth.org/37333.html | |||||
2017-06-14 | invert condition | 1 | -8/+5 | ||
2017-06-14 | FIX: save old termio structure properly | 1 | -2/+2 | ||
2017-04-28 | Updated ykfde.c to silently skip terminal updates when tcgetattr fails so ↵ | 1 | -14/+20 | ||
that keys can be piped through from other commands. | |||||
2017-03-02 | update copyright for 2017 | 2 | -2/+2 | ||
2016-05-28 | indent with tabs | 2 | -2/+2 | ||
2016-05-06 | use own function to ask for LUKS passphrase | 1 | -5/+11 | ||
2016-05-06 | give hint we want the *current* second factor | 1 | -1/+1 | ||
2016-05-04 | update help output | 2 | -2/+3 | ||
2016-05-04 | move terminal input to function, verify matching strings for new factor | 1 | -37/+49 | ||
2016-05-04 | simplify code structure | 1 | -47/+49 | ||
2016-05-04 | simplify return code handling | 2 | -49/+25 | ||
We do not return the return codes from library functionen, but that is not a big issue... | |||||
2016-05-04 | support reading second factor from terminal | 1 | -17/+70 | ||
This increases security by not displaying on display and not writing to shell history. | |||||
2016-05-04 | do not allow to give second factor twice | 1 | -0/+12 | ||
2016-05-04 | fix error condition for yk_close_key() and yk_release() | 1 | -2/+2 | ||
2016-05-04 | fix error condition for yk_init() | 1 | -2/+3 | ||
2016-05-04 | fix error condition for yk_get_serial() | 1 | -1/+2 | ||
2016-05-03 | add empty line for indention | 1 | -0/+1 | ||
2016-05-03 | fix error condition for yk_challenge_response() | 1 | -6/+8 | ||
2016-05-03 | do not crypt_free() when crypt_status() fails | 1 | -1/+1 | ||
2016-05-03 | make ykfde-cpio understand command parameters | 2 | -2/+35 | ||
2016-05-03 | fix compiler and linker flags and produce binaries with full RELRO | 1 | -1/+2 | ||
2016-05-03 | warn when second factor is preocessed but not enabled in config | 1 | -0/+5 | ||
2016-05-03 | define new constant for max second factor length | 1 | -2/+3 | ||
2016-01-18 | we have command options to control behaviour, remove loop hack | 1 | -40/+21 | ||
2016-01-18 | update comment about compiler command | 1 | -1/+1 | ||
2016-01-18 | remove macro, this works with gcc option -std=gnu11 | 1 | -7/+0 | ||
2016-01-16 | We have support for second factor. Yeah! | 2 | -67/+169 | ||
2016-01-04 | update copyright for 2016 | 2 | -2/+2 | ||
2015-05-27 | iniparser_getstring() returns const char * | 1 | -1/+1 | ||
2015-01-04 | make defines more portable | 2 | -4/+10 | ||
Looks like _DEFAULT_SOURCE requires a recent glibc and does not work on Fedora. So use _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED instead. Reported-by: Benjamin Pereto <benjamin.pereto@gmail.com> | |||||
2015-01-04 | update copyright for 2015 | 2 | -2/+2 | ||
2014-12-29 | introduce config.h | 3 | -12/+5 | ||
We now have configuration in just one place. | |||||
2014-12-29 | do not create directory '.' in archive | 1 | -5/+0 | ||
This has been changes in mkinitcpio, so we do it the same. https://projects.archlinux.org/mkinitcpio.git/commit/?id=514d5f1fa641b0bfc66d43f4c0c7e7830f747899 | |||||
2014-12-23 | support updating the challenge on boot | 3 | -5/+228 | ||
2014-12-22 | replace shell script with C code, and many more | 3 | -74/+297 | ||
* place bin/ykfde with C source code bin/ykfde.c * challenge/response can be updated in place WARNING: This required config file syntax change! * updates and simplification to udev/ykfde * a lot more... Signed-off-by: Christian Hesse <mail@eworm.de> | |||||
2014-04-17 | fix getopt options | 1 | -1/+1 | ||
2014-04-17 | get encrypted device from /etc/crypttab.initramfs | 1 | -9/+5 | ||
2014-04-17 | add infos about /etc/crypttab.initramfs to documentation | 1 | -2/+1 | ||
2014-04-16 | save a challenge for every key | 1 | -33/+18 | ||
2014-03-26 | add some basic documentation | 1 | -2/+0 | ||
2013-10-01 | create temporary directory, not file | 1 | -1/+1 | ||
2013-10-01 | remove newline from response, answer password agent | 1 | -1/+1 | ||
2013-10-01 | add hint about /etc/crypttab.initramfs | 1 | -1/+2 | ||
2013-10-01 | update warning about slot | 1 | -2/+6 | ||
2013-10-01 | update for systemd in initramfs | 1 | -3/+4 | ||
2013-08-05 | fix option to mktemp | 1 | -1/+1 | ||
2013-08-02 | use mktemp for temporarily directory handling | 1 | -10/+9 | ||
2013-05-27 | Initial import0.2.0 | 1 | -0/+91 | ||