pill: update solid

This commit is contained in:
Liam Fitzgerald 2023-09-26 14:19:07 +01:00
parent 23e09ed5a0
commit 792d42d9cc
3 changed files with 6 additions and 6 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:38f5a8c55b699c99a8fa2e0315ed0a63ba80e4c1c18dcbb85b3af3c4bf1e36f0
size 6786502
oid sha256:5b00a1700d3d4abd17239ec6c1117a22ddce7e901d68a85345b8f14be8531bf8
size 6886260

View File

@ -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))

View File

@ -43,5 +43,4 @@
!> -.res
::
[output +.res]
++ test-
--