Merge pull request #4596 from urbit/la/signatures-work

graph-store signatures: turn them on and correctly validate them
This commit is contained in:
L 2021-03-17 13:02:43 -05:00 committed by GitHub
commit fe7fdbcff2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View File

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

View File

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