fang
4bea69bc7d
fine: verify life & signatures of packets & msgs
...
In addition to doing signing & verification consistently with each
other, we now handle the "no data" case sanely.
Still uses the wrong keys though.
2022-02-01 11:55:04 +01:00
fang
b42dc477c5
fine: move into per-event core
...
This is an obviously more ergonomic factoring.
2022-01-28 23:54:01 +01:00
fang
fb72b7df7d
fine: set receiver life in request packet
2022-01-28 23:11:27 +01:00
fang
709dd75d74
fine: track pending requests for unknown peers
2022-01-28 23:09:50 +01:00
fang
769d10fdd4
fine: use keys from ames state instead of jael
2022-01-28 14:30:59 +01:00
fang
4c045a9c4f
ames, fine: minimal compilable unification
2022-01-27 14:32:49 +01:00
fang
d4a0f1d901
fine: correctly calculate request body size
...
This had missed getting updated for byte-logic.
2022-01-26 20:03:03 +01:00
fang
af8fd67472
fine: scry using the roof, not .^
2022-01-25 21:27:52 +01:00
fang
793c31d7f9
fine: properly sign individual packets
2022-01-24 23:51:22 +01:00
fang
ff53ae5e66
fine: supply lane where needed
...
Still somewhat wip, this might not be the lane behavior we want for
real.
2022-01-24 23:26:02 +01:00
fang
03b73b85bf
fine: set and handle the response bit correctly
2022-01-24 23:06:06 +01:00
fang
2279764eff
fine: include header & prelude with %hoot
2022-01-24 21:01:46 +01:00
fang
b606dea970
fine: work on bytes instead of bits
2022-01-24 21:01:09 +01:00
fang
92aa604be0
fine: factor out the fetching of scry results
...
And use it to implement task-ways request handling, which we'll probably
remove in favor of peek-ways handling.
2022-01-21 14:59:54 +01:00
fang
2d0a6f160b
fine: reuse packet en/decoding logic from ames
...
Also adds some more of the core logic, but still wip.
2022-01-20 20:36:38 +01:00
fang
dd4eb87f42
ames: move packet en/decoding into lull
...
By moving this behavior for packets with ames-style headers into lull,
other vanes that want to do protocols in similar style (like the upcoming
%fine vane) can reuse the logic here.
Note that we parameterize the main en- and decoding functions, so that
we may pass in the "is ames" flag and protocol versions as appropriate
to the context.
2022-01-20 01:59:43 +01:00
fang
207dc91c8c
fine: wip, add packet deserializing logic
...
Also stub our some flows, add todos, etc. Bit of a mess, follow-up soon.
2022-01-19 12:35:54 +01:00
fang
fa9c4016aa
fine: work around compiler bug
2022-01-14 13:51:02 +01:00
fang
355f05753f
fine: remote scry
...
Implements a WIP version of %fine, the remote scry vane. Plenty of work
remains to be done here, marked by TODOs and REVIEWs.
2022-01-14 00:22:56 +01:00
Philip Monk
a2a89d3532
Merge remote-tracking branch 'origin/next/arvo' into philip/roller
2021-11-16 13:58:57 -08:00
Philip Monk
4656372b09
Merge pull request #5426 from ynx0/claybel
...
clay: support labels
2021-11-15 08:49:31 -08:00
Yaseen
c080eb8336
fix comment styling
2021-11-15 09:07:24 -05:00
Yaseen
ae7cf81c29
clay: keep info in stacktrace when labeling fails
...
Co-authored-by: Philip Monk <phil@pcmonk.me>
2021-11-15 05:32:59 -05:00
Yaseen
70a85ccdb0
remove unnecessary comments
2021-11-14 20:41:30 -05:00
Yaseen
17751e7890
clay: enforce referential transparency on labels
2021-11-14 16:49:17 -05:00
Yaseen
25ce97cade
clay: add support for labeling commits
...
- add helper arm `label:de`
- update relevant code to take in arbitrary aeons
2021-11-12 15:35:06 -05:00
Philip Monk
08ab77893e
azimuth: don't start on fake ships
2021-11-09 22:36:05 -08:00
Philip Monk
e4a069a4f6
jael: remove vestigial boq and nod
2021-11-09 16:41:23 -08:00
Philip Monk
bf7f4ba453
Merge remote-tracking branch 'origin/m/naive-ugprade-path' into philip/roller
2021-11-09 12:52:25 -08:00
Philip Monk
45c1693085
jael: use default network id
2021-11-08 22:59:06 -08:00
Philip Monk
91b38d4cea
ivory: update preboot validation format
...
string<->numbers didn't match the json serialization. This makes
preboot validation succeed.
2021-11-08 20:34:32 -08:00
fang
fecb809573
jael, azimuth: reconfigure jael for L2
...
Jael needs to be reconfigured to listen to the new aagent for azimuth
events, and the old app needs to be shut down. We do this in
/app/azimuth's +on-init.
Additionally, we make sure that jael doesn't crash when it (as expected)
loses its subscription to the old agent.
2021-11-06 01:10:33 +01:00
fang
0ec3d5111d
Merge branch 'master' into naive/roller
2021-10-26 20:46:32 +02:00
fang
36cd69b6d0
Merge tag 'urbit-os-v2.100' into naive/roller
2021-10-26 17:08:03 +02:00
fang
f91c4dec08
Merge branch 'master' into release/next-sys
2021-10-08 17:39:03 +04:00
fang
bf4aef198c
clay: give %u answer for non-existent desks
...
Instead of considering it "in the future", an existence check for paths
on non-existent desks now always produce false.
2021-10-07 21:57:56 +04:00
fang
2a1c47ddd2
jael: add %ruin task for pretend-breaching others
...
The initial use case here is clearing state relating to long-gone
comets, but this could prove to be a useful general-purpose rescue tool.
2021-10-01 01:54:33 +04:00
Philip Monk
facdf4dbc1
jael: on rekey, update life if moon
2021-09-29 20:51:57 -05:00
Ted Blackman
5cce66523c
Revert "clay: print cult"
...
This reverts commit d4bc38f774
.
2021-09-29 20:31:57 -04:00
Ted Blackman
86a2715e67
clay: purge %next and %sing on migration
2021-09-29 20:10:53 -04:00
Ted Blackman
d4bc38f774
clay: print cult
2021-09-29 20:01:43 -04:00
Ted Blackman
5e1778ea84
clay: compile failure
2021-09-29 19:43:26 -04:00
Ted Blackman
2effd3cec0
Merge branch 'dist' of github.com:urbit/urbit into dist
2021-09-29 19:37:18 -04:00
Ted Blackman
b16d176863
clay: delete /app/publish from subscription state on migration
2021-09-29 19:36:29 -04:00
Philip Monk
3c658b17fa
Revert "gall: don't crash on suspended agent build failures"
...
This reverts commit d446418d53
.
2021-09-29 18:30:01 -05:00
Ted Blackman
d446418d53
gall: don't crash on suspended agent build failures
2021-09-29 18:49:20 -04:00
Ted Blackman
bd46a367a3
clay: always notify if new read says nonexistent
2021-09-29 17:57:55 -04:00
Ted Blackman
7e5feb4cb4
gall: implement pupal +stay
2021-09-29 16:24:12 -04:00
Ted Blackman
fd54c96a3f
gall: %jolt restart agent from new desk
2021-09-29 16:03:14 -04:00
Ted Blackman
9560fa43b2
gall,clay: fix migration file build dates; add %home as parent desk in jams
2021-09-29 15:00:42 -04:00