From 792d42d9cc429101e94a08ee711cab38152c1436 Mon Sep 17 00:00:00 2001 From: Liam Fitzgerald Date: Tue, 26 Sep 2023 14:19:07 +0100 Subject: [PATCH] pill: update solid --- bin/solid.pill | 4 ++-- pkg/arvo/sys/vane/ames.hoon | 7 ++++--- tests/sys/vane/gall.hoon | 1 - 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/solid.pill b/bin/solid.pill index 87803c7695..ff0f5b5f64 100644 --- a/bin/solid.pill +++ b/bin/solid.pill @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:38f5a8c55b699c99a8fa2e0315ed0a63ba80e4c1c18dcbb85b3af3c4bf1e36f0 -size 6786502 +oid sha256:5b00a1700d3d4abd17239ec6c1117a22ddce7e901d68a85345b8f14be8531bf8 +size 6886260 diff --git a/pkg/arvo/sys/vane/ames.hoon b/pkg/arvo/sys/vane/ames.hoon index b5d58c41ef..4c06e96a22 100644 --- a/pkg/arvo/sys/vane/ames.hoon +++ b/pkg/arvo/sys/vane/ames.hoon @@ -1982,7 +1982,6 @@ |=([@da =duct] ?=([[%ames %recork *] *] duct)) :: ?> ?=(%18 -.u.cached-state) - :: TODO: review keygen =. ames-state.adult-gate +.u.cached-state [moz larval-core(cached-state ~)] -- @@ -3152,11 +3151,10 @@ =/ key=@ (shaz eny) :: TODO: check key width =/ num=@ud ?~ latest=(pry:on:chain chain.ames-state) - 0 + 1 .+(key.u.latest) =. chain.ames-state (put:on:chain chain.ames-state num [key path]) - =. atlas.ames-state (~(put by atlas.ames-state) [vane path] num) (emit duct %give %stub num key) :: +on-trim: handle request to free memory :: @@ -3194,6 +3192,9 @@ =/ lav /a/x/(scot %ud idx.u.sec)//fine/shut/[enc] =/ wir /fine/shut/(scot %ud idx.u.sec) (emit duct %pass wir %a %keen ~ ship lav) + :: XX: key exchange over ames forces all encrypted scries to be + :: to a known peer + ?> ?=(~ sec) %^ enqueue-alien-todo ship ship-state |= todos=alien-agenda todos(keens (~(put ju keens.todos) path duct)) diff --git a/tests/sys/vane/gall.hoon b/tests/sys/vane/gall.hoon index 15a32e84e2..73469503dc 100644 --- a/tests/sys/vane/gall.hoon +++ b/tests/sys/vane/gall.hoon @@ -43,5 +43,4 @@ !> -.res :: [output +.res] -++ test- --