mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 01:52:42 +03:00
Merge pull request #4596 from urbit/la/signatures-work
graph-store signatures: turn them on and correctly validate them
This commit is contained in:
commit
fe7fdbcff2
@ -30,7 +30,7 @@
|
|||||||
?~ lyf %.y
|
?~ lyf %.y
|
||||||
=+ %: jael-scry
|
=+ %: jael-scry
|
||||||
,deed=[a=life b=pass c=(unit @ux)]
|
,deed=[a=life b=pass c=(unit @ux)]
|
||||||
our %deed now /(scot %p q.signature)/(scot %ud p.signature)
|
our %deed now /(scot %p q.signature)/(scot %ud r.signature)
|
||||||
==
|
==
|
||||||
?. =(a.deed r.signature) %.y
|
?. =(a.deed r.signature) %.y
|
||||||
:: verify signature from ship at life
|
:: verify signature from ship at life
|
||||||
|
@ -88,10 +88,9 @@
|
|||||||
%_ node
|
%_ node
|
||||||
hash.post `hash
|
hash.post `hash
|
||||||
::
|
::
|
||||||
:: TODO: enable signing our own post as soon as we're ready
|
signatures.post
|
||||||
:: signatures.post
|
%- ~(gas in *signatures:store)
|
||||||
:: %- ~(gas in *signatures:store)
|
[(sign:sig our.bowl now.bowl hash)]~
|
||||||
:: [(sign:sig our.bowl now.bowl hash)]~
|
|
||||||
::
|
::
|
||||||
children
|
children
|
||||||
?: ?=(%empty -.children.node)
|
?: ?=(%empty -.children.node)
|
||||||
|
Loading…
Reference in New Issue
Block a user