mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-14 17:41:33 +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
|
||||
=+ %: jael-scry
|
||||
,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
|
||||
:: verify signature from ship at life
|
||||
|
@ -88,10 +88,9 @@
|
||||
%_ node
|
||||
hash.post `hash
|
||||
::
|
||||
:: TODO: enable signing our own post as soon as we're ready
|
||||
:: signatures.post
|
||||
:: %- ~(gas in *signatures:store)
|
||||
:: [(sign:sig our.bowl now.bowl hash)]~
|
||||
signatures.post
|
||||
%- ~(gas in *signatures:store)
|
||||
[(sign:sig our.bowl now.bowl hash)]~
|
||||
::
|
||||
children
|
||||
?: ?=(%empty -.children.node)
|
||||
|
Loading…
Reference in New Issue
Block a user