fang
47feec3ecc
Merge branch 'lf/ames-notifs' into m/scry-vane
2022-02-03 22:00:24 +01:00
fang
a8574df401
ames: retrieve pk from old crypto core on load
...
Since we cannot scry the key out of jael during load, and the
alternative is defering this logic through the larval core in some way,
we simply include the type for the old acru interface, letting us reuse
the old core to initialize the new one.
2022-02-03 13:49:38 +01:00
fang
39959942d2
ames: use +safe:as:crub instead of +veri:ed
...
+safe now exists to wrap that, so we should use it instead of deriving
the relevant key and calling +veri:ed directly.
2022-02-02 22:16:16 +01:00
fang
5776226a6c
lull: add acru arms for simply signing & authing
...
Instead of exporting keys so that caller can do this themselves, we
expose arms for signing and authenticating that produce and operate on
just the signature, without mangling it into the message.
2022-02-02 21:52:48 +01:00
fang
83e315cccd
lull: add arms to ex:acru for separate keys
...
We may want _just_ the encryption key, or _just_ the signing key.
2022-02-02 20:10:30 +01:00
fang
1302c5fa0b
fine: fix broken +full:keys callsite
...
Straggler from last commit about data type consistency.
2022-02-02 19:55:20 +01:00
Liam Fitzgerald
9dad96332b
ames: remove logging
2022-02-01 20:50:02 -06:00
Liam Fitzgerald
6ee2e1626f
ames: unify path format
2022-02-01 20:48:04 -06:00
Liam Fitzgerald
1eaad36d4d
ames: working notifications
2022-02-01 20:30:11 -06:00
Liam Fitzgerald
7205625abf
wip
2022-02-01 13:25:28 -06:00
fang
c72c187edd
fine: use $@(~ (cask)) consistently
...
It's what ends up in the packet, probably better than passing units and
converting them all over.
2022-02-01 12:02:47 +01:00
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