From 6c44f0ee841fe1bf84a8a299e0bf78a01e84f03a Mon Sep 17 00:00:00 2001 From: bryan newbold Date: Sat, 4 Mar 2023 15:54:38 -0800 Subject: repo: document signing process bug --- adenosine/src/repo.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/adenosine/src/repo.rs b/adenosine/src/repo.rs index b05a933..7f4f292 100644 --- a/adenosine/src/repo.rs +++ b/adenosine/src/repo.rs @@ -278,6 +278,7 @@ impl RepoStore { new_mst_cid, )?; // TODO: is this how signatures are supposed to work? + // TODO: no, CID in bytes and sign that? let sig = signing_key.sign_bytes(new_root_cid.to_string().as_bytes()); self.write_commit(did, new_root_cid, &sig) } -- cgit v1.2.3