Commit Graph

263 Commits

Author SHA1 Message Date
Fang
5fcf570c99
kh: prefer withObject helper over custom parser 2021-09-01 17:28:45 +02:00
Fang
aec9883c3b
kh: parse pubkeys at json parsing site, not later
This ensures we crash early if the received data is in an unexpected
format or otherwise not sane.
2021-09-01 17:27:13 +02:00
Fang
7925171b77
kh: remove unused data structures from Dawn.hs 2021-08-11 02:03:32 +02:00
Fang
8c19f543d3
kh: L2 preboot validation
As in f3b57d7b6 and its follow-up commits, except it's King Haskell.
2021-08-11 02:02:23 +02:00
fang
bdaad4cf84
kh: don't error during key validation
Instead produce an Either.
2021-06-17 17:42:44 +02:00
fang
f8d5a1644c
kh: improve naming and code style 2021-06-17 14:48:09 +02:00
fang
2d01e1851f
Merge branch 'master' into m/multipass 2021-06-09 14:34:49 +02:00
ryjm
0142fce219 king: add crud event to jael 2021-06-09 05:54:57 -04:00
ryjm
8ad9d022a1 king: fix noun derivation 2021-06-09 01:50:34 -04:00
fang
3b81e35260
dawn: better multikey format
Improves the multikeyfile format by taking a single ship and a list of
life+key pairs, instead of a list of full seeds.

Also decouples these changes from the dawn event, once again putting a
single seed into it. In the multikeyfile case, keys are injected as
%rekey events to jael near the end of the boot sequence.

Haskell-side changes may or may not be incomplete, boot presently fails
at some unknown point with what looks like a noun conversion error.
2021-06-04 01:49:15 +02:00
fang
cc362b27c9
kh: support multikeyfiles 2021-06-03 01:04:45 +02:00
pilfer-pandex
b2c2aa2240
Merge pull request #4792 from urbit/lf/king-fix-hidden-files
king: do not commit files starting with a dot
2021-04-26 19:23:15 -04:00
pilfer-pandex
94ad4ec3ac king: fix typo in UDP.hs comment 2021-04-26 18:58:14 -04:00
pilfer-pandex
dad455365d king: add requested disclamer to UDP.hs 2021-04-23 15:51:51 -04:00
pilfer-pandex
0bcc83f40c king: my god, actually reverse ip addrs 2021-04-23 15:51:51 -04:00
pilfer-pandex
17bf33d3a0 king: fix byte order of Ipv4 2021-04-23 15:51:51 -04:00
pilfer-pandex
48837a1fbe king: ames: make udp serv reuse port on err 2021-04-23 15:51:50 -04:00
Liam Fitzgerald
d357593ef1
king: address ~pilfer-pandex review 2021-04-21 16:40:22 +10:00
Liam Fitzgerald
e6857d5797
king: do not commit files starting with a dot 2021-04-20 15:32:26 +10:00
pilfer-pandex
229ae81bf1
Merge pull request #4516 from ryjm/fix-king-scry
king: fix textAsTa
2021-03-23 14:54:56 -04:00
pilfer-pandex
19f4b36ac5
Merge pull request #4616 from urbit/pp/vegeta
king: commit seppuku when server is out of fds, also setrlimit allowing for more fds
2021-03-23 14:53:15 -04:00
pilfer-pandex
1a39dac437 king: address joe on fds/seppuku 2021-03-21 21:27:50 -04:00
pilfer-pandex
72f0201de3 king: missing changes in Main, plus setrlimit for fds 2021-03-16 21:49:44 -04:00
pilfer-pandex
88375f37ec king: commit seppuku when server is out of fds 2021-03-16 00:40:18 -04:00
pilfer-pandex
7f86f41da3 king: fix moronic space leak in http client 2021-03-05 18:48:07 -05:00
pilfer-pandex
af3ea0b9a1 king: fix insidious space leak in IPC.hs 2021-03-05 16:19:25 -05:00
ryjm
f9a5666074 king: textAsTa -> textAsT 2021-03-02 14:19:48 -05:00
pilfer-pandex
c9c11837b8 king: fix bug Show Ipv4 2021-02-03 15:26:19 -08:00
pilfer-pandex
e70fa2629d king: error message for lock file 2021-02-02 15:58:30 -08:00
pilfer-pandex
ac00ea43f8 king: fix lane format; vere: don't crash on bad lane 2021-02-02 10:54:07 -08:00
pilfer-pandex
1042422bbe king: address joe's comments again 2021-01-29 14:15:27 -08:00
pilfer-pandex
fbe13d411d king: elim zigzag in --stderr (still interlacing) 2021-01-21 14:55:03 -08:00
pilfer-pandex
958ebc5a24 king: ted's new packet format 2021-01-10 21:19:40 -08:00
pilfer-pandex
29cc12d206 king: various fixes and improvements 2020-12-18 17:00:56 -08:00
pilfer-pandex
fec7d99fd1 Merge branch 'eg/wyrd-hs' into pp/wire 2020-12-18 12:04:52 -08:00
Elliot Glaysher
3451e02cd1 OK, and now we are walking through the effects 2020-12-16 16:53:25 -05:00
Elliot Glaysher
44d8119119 That was it. Fixed the wyrd:insane issue. 2020-12-16 11:46:54 -05:00
Elliot Glaysher
d6def3c4cb WIP: Got to the point where we boot and goof on the event 2020-12-16 11:17:13 -05:00
pilfer-pandex
aefb53e64e king: path format chage, fix tests 2020-12-15 13:46:26 -08:00
Elliot Glaysher
c887dcd626 Merge remote-tracking branch 'origin/pp/wire' into eg/wyrd-hs 2020-12-11 17:13:39 -05:00
Elliot Glaysher
4f67f90c9c Dumping 2020-12-11 13:05:46 -05:00
Elliot Glaysher
876fb521ee First draft adding wyrd; doesn't boot. 2020-12-11 13:05:46 -05:00
pilfer-pandex
716ed1203b king: fix warning 2020-12-10 18:05:10 -08:00
pilfer-pandex
1a9b1a83a5 king: 'implement' joe's breaching ev/ef path reform 2020-12-10 17:56:56 -08:00
pilfer-pandex
17359556c1
Merge pull request #4075 from urbit/pp/stat
king: Create a new stats subsystem; count some stuff in Ames
2020-12-10 16:40:52 -08:00
Joe Bryan
59883343c8 Merge branch 'jb/vere-versions' into jb/vere-versions-merge
* jb/vere-versions:
  u3: adds comments to explain unusual u3v_arvo/u3v_home requirements
  u3: fixes checkpoint version enforcement, refactors u3m_pave() et al
  king: port the new lmdb event log changes.
  u3: WIP adds a version to the checkpoint / persistent state
  u3: revises "rock" format, tags jet registrations
  u3: adds version number to checkpoint patch files
  u3: removes obsolete members from u3_arvo
  vere: removes u3A->sen references from i/o drivers
  vere: implements lmdb event log format
  vere: adds version to lmdb meta table, removes unnecessary jam
2020-12-04 15:26:16 -08:00
pilfer-pandex
f5d1f9260c king: more stats, log 'rotation' 2020-12-04 14:19:03 -08:00
pilfer-pandex
0f4450d43b king: remove spurious Term changes 2020-12-03 23:23:46 -08:00
pilfer-pandex
24cc0502cd king: actually use ~_~ for stats display 2020-12-03 23:12:14 -08:00
pilfer-pandex
80540c2142 king: stat 2020-12-03 11:13:59 -08:00