vikunja/build
kolaente 9456223556 fix: prevent package postinstall hang when generating jwt secret
The postinstall scripts generated the jwt secret with:

  cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1

This relies on SIGPIPE to terminate the infinite `cat /dev/urandom`
once `head` has read its single line. Inside a dpkg/apt maintainer-script
context the SIGPIPE disposition is not reliably delivered, so
`cat /dev/urandom` spins forever, the postinstall never returns, and the
whole `dpkg -i` / upgrade hangs.

Read a bounded 512 bytes with `head -c` instead so nothing depends on
SIGPIPE to terminate. 512 random bytes yield ~124 alphanumerics on
average, so the trailing `head -c 32` reliably produces a full 32-char
secret while staying dependency-free.

Fixes #2660
2026-05-30 12:39:49 +00:00
..
after-install-openrc.sh fix: prevent package postinstall hang when generating jwt secret 2026-05-30 12:39:49 +00:00
after-install.sh fix: prevent package postinstall hang when generating jwt secret 2026-05-30 12:39:49 +00:00
go.mod feat(build): add centralized release magefile module 2026-05-27 13:01:44 +00:00
go.sum feat(build): add centralized release magefile module 2026-05-27 13:01:44 +00:00
magefile.go feat(build): add centralized release magefile module 2026-05-27 13:01:44 +00:00
reprepro-dist-conf fix(ci): sign APT Release files manually instead of via reprepro gpgme 2026-04-12 17:32:11 +02:00