1
0
Commit Graph

16 Commits

Author SHA1 Message Date
7e2b0068e6 nixfmt-rfc-style
There is nothing in this commit except for the changes made by
nix-shell -p nixfmt-rfc-style --run "nixfmt ."

If this has mucked up your open branches then sorry about that. You
can probably nixfmt them to match before merging
2025-02-10 21:55:08 +00:00
464913cc8f tangc use spawn to invoke jose
hopefully we are now deadlock-free
2024-09-06 00:12:45 +01:00
699cf97206 improve tangc http error messages 2024-09-03 22:50:55 +01:00
034d6aacc4 tangc handle non-zero exit from jwe dec
Sometimes it exits non-zero but decrypts the file *anyway*. It only
does this on the device and I haven't been able to reproduce on build,
so this is a workaround until we find the root cause
2024-09-01 09:57:38 +01:00
d2215d3e56 tangc popen retry on short read 2024-08-31 22:18:23 +01:00
3cf2308bee tangc: stop printing unexpected blank lines 2024-08-31 15:29:10 +01:00
3913989be3 provide string to perform-encryption
instead of letting it read stdin, which I think may have been read
by a subprocess already sometimes?
2024-08-31 15:27:54 +01:00
43e5e6876e improve tangc error messages 2024-08-31 15:22:26 +01:00
da95a9fa62 tangc support encryption 2024-08-28 18:55:20 +01:00
85071c88e7 remove argv0 from calls to jose 2024-08-28 11:16:43 +01:00
74093b7ee3 josep! runs jose without json parsing the output 2024-08-28 08:13:50 +01:00
41733e58d6 remove unused code, tidy string parsing 2024-08-28 07:20:07 +01:00
9041d5d63a add jose! fn to reduce error-checking boilerplate 2024-08-28 07:10:47 +01:00
001ebdc601 remove unused requires 2024-08-28 06:52:04 +01:00
1f97409474 add popen2 to anoia.fs 2024-08-28 06:49:43 +01:00
a41839f3d1 clevis-decrypt-tang in fennel
needs a lot of tidying up, but works on my test file
2024-08-28 01:37:44 +01:00