Johannes Marbach
5a372adfca
Merge branch 'fix_kdgkbmode' into 'master'
...
unl0kr: store keyboard mode in a long instead of an int
See merge request postmarketOS/buffybox!52
2025-05-06 19:50:34 +00:00
Vladimir Stoiakin
d8214b522a
unl0kr-agent: check exit code of a child process
...
If the call to execv() is failed (/usr/bin/unl0kr is absent, for example), the child process will exit with EXIT_FAILURE.
But since the agent does not check the exit code, it will not notice the problem and will return an empty password to systemd.
When the password is used to unlock a PKCS#11 or FIDO2 token, we can waste a limited number of tries or lock the token entirely.
The patch adds a check to avoid this sutuation.
2025-05-06 15:03:58 +03:00
Vladimir Stoiakin
4e13c31224
unl0kr: store keyboard mode in a long instead of an int
2025-05-06 13:38:14 +03:00
Johannes Marbach
1103aa224f
Merge branch 'warnings' into 'master'
...
misc: fix warnings
See merge request postmarketOS/buffybox!47
2025-04-23 19:33:34 +00:00
Vladimir Stoiakin
b711b97632
misc: use standard C library instead of builtin functions
2025-04-22 16:28:47 +03:00
Vladimir Stoiakin
5c782575f2
misc: fix warnings
2025-04-17 14:08:19 +03:00
Vladimir Stoiakin
fa985ec163
misc: update README
2025-04-16 13:19:01 +03:00
Vladimir Stoiakin
8b1ca6e4cf
Update LVGL to 9.2.2
2025-04-15 16:17:52 +00:00
Vladimir Stoiakin
0989ee5800
unl0kr-agent: ignore keys without a value in requests
2025-04-08 11:11:20 +03:00
Vladimir Stoiakin
cf20c4a2fd
unl0kr: update screenshots
2025-04-02 18:02:06 +03:00
Vladimir Stoiakin
84d47d2824
unl0kr: add a CLI option to show a custom message
...
Fixes : #33
2025-04-02 17:40:46 +03:00
Johannes Marbach
3613ba4e9d
Merge branch 'master' into 'main_loop'
...
# Conflicts:
# CHANGELOG.md
2025-03-25 18:37:49 +00:00
Johannes Marbach
4bff5f7386
Merge branch 'endian' into 'master'
...
build: do not hardcode endianess of a system
See merge request postmarketOS/buffybox!41
2025-03-25 18:32:04 +00:00
Vladimir Stoiakin
2627baeea3
build: do not hardcode endianess of a system
2025-03-25 10:50:02 +03:00
Vladimir Stoiakin
a89df3a04e
unl0kr: optimize the main loop
2025-03-20 20:02:01 +03:00
Vladimir Stoiakin
9bb6b3acdf
unl0kr: add the CLI option to avoid suffixing a password with a newline character
...
Appending the newline character '\n' is the right thing to do when you print a password to a tty or a text file.
But different tools process it differently. For example, cryptsetup strips the newline character, but systemd-cryptsetup with a password agent does not.
This commit allows to control the newline character with an option.
2025-03-13 18:25:26 +03:00
xs5871
a410763f02
Add software rotation to unl0kr
...
Co-authored-by: craftyguy
2025-03-12 20:11:38 +00:00
Vladimir Stoiakin
a573643403
unl0kr-agent: add more debug output
2025-02-24 11:57:13 +03:00
Vladimir Stoiakin
ee55a1aa8e
build: add '-DLV_USE_LINUX_DRM=1' for unl0kr only
2024-12-09 18:44:48 +03:00
Sorcus
c57913819c
unl0kr: select an available DRM device instead of a hard-coded one
2024-11-10 20:07:47 +00:00
Vladimir Stoiakin
ee8e31ad4b
unl0kr: add a systemd password agent
2024-11-05 11:33:53 +03:00
a036d1e9a1
use OS sleep instead of polling to reduce CPU usage
...
without this lvgl never releases the CPU, and just pegs one of the cores
to 100%. see
<https://github.com/lvgl/lvgl/blob/master/docs/porting/timer_handler.rst >
2024-10-05 13:03:02 +00:00
Vladimir Stoiakin
ec21e5ead9
unify build systems of buffyboard and unl0kr
2024-09-26 13:40:50 +03:00
Pablo Correa Gomez
dd4905ccfb
Make /usr/share paths comply with FHS
2024-09-24 19:09:53 +00:00
fossdd
482b23bfea
Load config from /usr/share aswell
2024-09-04 18:41:15 +00:00
Johannes Marbach
79c1b2dfb6
Prevent logging internal LVGL errors to stdout
2024-08-08 20:05:28 +02:00
Undef
0eae2838dc
Add Buffyboard Man pages and Unify Build
2024-07-26 16:40:49 +00:00
Johannes Marbach
edeb5e4a35
Prepare for 3.2.0
2024-06-03 21:14:48 +02:00
Johannes Marbach
815fba1637
Update changelog and unchange config
2024-06-03 21:10:58 +02:00
Johannes Marbach
f631b81308
Merge branch 'master' into johannes/nord-theme
2024-06-03 21:06:23 +02:00
Jordie
91b10d6603
Added Adwaita dark theme
2024-04-22 13:29:18 +00:00
Johannes Marbach
9ef8414f17
Grab screenshots via fbcat to fix colors
2024-04-18 20:21:11 +02:00
Johannes Marbach
fc99725211
Prepare for 3.1.0
2024-04-10 20:36:54 +02:00
Johannes Marbach
0bfbcaf377
Add tests for version flag
2024-04-01 17:05:17 +02:00
Johannes Marbach
46389fccb6
Add nord themes
2024-03-31 20:53:27 +02:00
Johannes Marbach
7d8da309c2
Verify backend on CI
2024-03-31 11:54:18 +02:00
Johannes Marbach
23a84b3cd8
Fix failing build when DRM is disabled
2024-03-31 08:24:42 +02:00
Johannes Marbach
7c1d4bd05d
Unbreak styling of message box buttons
2024-03-30 21:45:24 +01:00
Johannes Marbach
b226eb1816
Fix shutdown message box not closing on decline
2024-03-30 21:27:37 +01:00
Johannes Marbach
8f1262ccb2
Move parts of config to shared
2024-03-30 21:12:37 +01:00
Johannes Marbach
1578617560
Use bbx prefix for shared code
2024-03-30 20:52:01 +01:00
Johannes Marbach
b31f61f6c1
Move font to shared
2024-03-30 19:35:29 +00:00
Johannes Marbach
925b56d16e
Fix naming
2024-03-30 20:08:00 +01:00
Johannes Marbach
471c1fe0e3
Add screenshots
2024-03-30 12:46:09 +00:00
Johannes Marbach
fd0bd170a1
Fix font generation
2024-03-30 08:21:38 +01:00
Johannes Marbach
2987305546
Add themes and fbdev force-refresh quirk via config
2024-03-30 08:06:29 +01:00
Johannes Marbach
b98b8d1be2
Move indev to shared component
2024-03-28 14:31:27 +01:00
Johannes Marbach
f4482706bc
Move log to shared component
2024-03-28 13:44:33 +01:00
Johannes Marbach
0d3c1677da
Move cursor to shared component
2024-03-28 13:27:01 +01:00
Johannes Marbach
4f00ff228d
Move/adapt archive and release script to repo root
2024-03-22 21:01:24 +01:00