From caffd0fca80b9ffca29a76b537c7fdf954aa9c44 Mon Sep 17 00:00:00 2001 From: Logan Allen Date: Fri, 12 Mar 2021 10:52:46 -0600 Subject: [PATCH 1/2] signatures: properly use life instead of signed data in scry for deed --- pkg/arvo/lib/signatures.hoon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/arvo/lib/signatures.hoon b/pkg/arvo/lib/signatures.hoon index 7c4de27ad..4206638e8 100644 --- a/pkg/arvo/lib/signatures.hoon +++ b/pkg/arvo/lib/signatures.hoon @@ -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 From 5c69e92da441052d1edb6a956f61268871d18597 Mon Sep 17 00:00:00 2001 From: Logan Allen Date: Fri, 12 Mar 2021 10:53:54 -0600 Subject: [PATCH 2/2] -graph-add-nodes: sign nodes --- pkg/arvo/ted/graph/add-nodes.hoon | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkg/arvo/ted/graph/add-nodes.hoon b/pkg/arvo/ted/graph/add-nodes.hoon index 3041eb61c..4772e461a 100644 --- a/pkg/arvo/ted/graph/add-nodes.hoon +++ b/pkg/arvo/ted/graph/add-nodes.hoon @@ -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)