524 Commits

Author SHA1 Message Date
Johannes Marbach
69a6b6ee8b Merge branch 'buffyboard_widgets' into 'master'
buffyboard: disable unused LVGL widgets

Closes #12

See merge request postmarketOS/buffybox!50
2025-05-06 19:52:51 +00:00
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
Johannes Marbach
0c409dab02 Merge branch 'check_return' into 'master'
unl0kr-agent: check exit code of a child process

See merge request postmarketOS/buffybox!53
2025-05-06 19:49:13 +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
Vladimir Stoiakin
3e08ee4716 buffyboard: disable unused LVGL widgets 2025-05-05 12:20:36 +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
Johannes Marbach
f4b7fcdcd2 Add changelog for !49 2025-04-23 21:17:00 +02:00
Johannes Marbach
309ff80709 Merge branch 'use_libc' into 'master'
misc: use standard C library instead of builtin functions

See merge request postmarketOS/buffybox!49
2025-04-23 19:14:54 +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
Johannes Marbach
2b6192fcf0 Merge branch 'readme' into 'master'
misc: update README

See merge request postmarketOS/buffybox!48
2025-04-17 07:49:53 +00:00
Vladimir Stoiakin
fa985ec163 misc: update README 2025-04-16 13:19:01 +03:00
Johannes Marbach
dce41a6f07 Prepare for 3.3.0 2025-04-15 18:23:59 +02:00
Johannes Marbach
1514569d2b Add changelog for !46 2025-04-15 18:20:06 +02:00
Johannes Marbach
4dd73af67b Merge branch 'lvgl-9' into 'master'
Update LVGL to 9.2.2

See merge request postmarketOS/buffybox!46
2025-04-15 16:17:53 +00:00
Vladimir Stoiakin
8b1ca6e4cf Update LVGL to 9.2.2 2025-04-15 16:17:52 +00:00
Johannes Marbach
a711b61e11 Merge branch 'ignore_empty' into 'master'
unl0kr-agent: ignore keys without a value in requests

See merge request postmarketOS/buffybox!45
2025-04-09 13:09:03 +00:00
Vladimir Stoiakin
0989ee5800 unl0kr-agent: ignore keys without a value in requests 2025-04-08 11:11:20 +03:00
Johannes Marbach
169a1ac5b7 Merge branch 'message' into 'master'
unl0kr: add a CLI option to show a custom message

Closes #33

See merge request postmarketOS/buffybox!39
2025-04-04 10:37:12 +00: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
18b576f259 Merge branch 'main_loop' into 'master'
unl0kr: optimize the main loop

See merge request postmarketOS/buffybox!38
2025-03-25 18:39:00 +00:00
Johannes Marbach
3613ba4e9d Merge branch 'master' into 'main_loop'
# Conflicts:
#   CHANGELOG.md
2025-03-25 18:37:49 +00:00
Johannes Marbach
d5838377cb Add proper attribution for !41 2025-03-25 19:34:17 +01: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
Johannes Marbach
b8a5c194f1 Merge branch 'pr-man-tab' into 'master'
man: use tabs instead of spaces (fixes build)

See merge request postmarketOS/buffybox!42
2025-03-24 18:59:50 +00:00
Johannes Marbach
bebd2c5455 Merge branch 'johannes/unbreak-ci' into 'master'
Stop CI on first error

See merge request postmarketOS/buffybox!44
2025-03-24 18:58:14 +00:00
Johannes Marbach
5b54f494a6 Revert "Test fix manpage"
This reverts commit e44dd2412c.
2025-03-24 19:57:14 +01:00
Johannes Marbach
e44dd2412c Test fix manpage 2025-03-24 19:55:50 +01:00
Johannes Marbach
a64ef9bad4 Return exit code from run_script 2025-03-24 19:53:08 +01:00
Johannes Marbach
80d388ebff Collect exit codes 2025-03-24 19:48:32 +01:00
Johannes Marbach
70509e5b02 Stop CI on first error 2025-03-24 19:42:26 +01:00
Johannes Marbach
4546b3227a Merge branch 'lvgl_url' into 'master'
update the URL of LVGL repository

See merge request postmarketOS/buffybox!43
2025-03-24 18:33:36 +00:00
Vladimir Stoiakin
aa28de93b9 update the URL of LVGL repository 2025-03-24 12:30:44 +03:00
1f0c30e88d man: use tabs instead of spaces (fixes build)
otherwise sc-doc errors:
> FAILED: man/unl0kr.1
> meson --internal exe --capture man/unl0kr.1 --feed ../man/unl0kr.1.scd -- scdoc
> --- stderr ---
> Error at 48:1: Tabs are required for indentation
2025-03-22 20:47:16 +00:00
Vladimir Stoiakin
a89df3a04e unl0kr: optimize the main loop 2025-03-20 20:02:01 +03:00
Johannes Marbach
56a9867e90 Merge branch 'newline' into 'master'
unl0kr: add the CLI option to avoid suffixing a password with a newline character

Closes #44

See merge request postmarketOS/buffybox!40
2025-03-16 18:32:49 +00: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
Johannes Marbach
3196e47d51 Merge branch 'feature-unl0kr-swrot' into 'master'
Add software rotation to unl0kr

See merge request postmarketOS/buffybox!32
2025-03-12 20:11:38 +00:00
xs5871
a410763f02 Add software rotation to unl0kr
Co-authored-by: craftyguy
2025-03-12 20:11:38 +00:00
Johannes Marbach
6bf7a8406f Merge branch 'debug_strings' into 'master'
unl0kr-agent: add more debug output

See merge request postmarketOS/buffybox!37
2025-02-27 20:04:03 +00:00
Vladimir Stoiakin
a573643403 unl0kr-agent: add more debug output 2025-02-24 11:57:13 +03:00
Johannes Marbach
32f4837e83 Merge branch 'fix_redefinition' into 'master'
build: add '-DLV_USE_LINUX_DRM=1' for unl0kr only

See merge request postmarketOS/buffybox!36
2024-12-09 20:22:37 +00:00
Vladimir Stoiakin
ee55a1aa8e build: add '-DLV_USE_LINUX_DRM=1' for unl0kr only 2024-12-09 18:44:48 +03:00
Johannes Marbach
07e324c175 Merge branch 'drm_fix' into 'master'
unl0kr: select an available DRM device instead of a hard-coded one

Closes #38

See merge request postmarketOS/buffybox!35
2024-11-10 20:12:12 +00:00
Sorcus
c57913819c unl0kr: select an available DRM device instead of a hard-coded one 2024-11-10 20:07:47 +00:00
Johannes Marbach
72a4220fea Merge branch 'agent' into 'master'
unl0kr: add a systemd password agent

See merge request postmarketOS/buffybox!33
2024-11-06 20:46:42 +00:00
Vladimir Stoiakin
ee8e31ad4b unl0kr: add a systemd password agent 2024-11-05 11:33:53 +03:00