aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@robocracy.org>2023-03-04 15:54:38 -0800
committerbryan newbold <bnewbold@robocracy.org>2023-03-04 16:29:41 -0800
commit6c44f0ee841fe1bf84a8a299e0bf78a01e84f03a (patch)
tree910121aedd725d344e3308feafff4c64a0d9dc86
parenta4e160285683021431bcff75f257df654d56e748 (diff)
downloadadenosine-6c44f0ee841fe1bf84a8a299e0bf78a01e84f03a.tar.gz
adenosine-6c44f0ee841fe1bf84a8a299e0bf78a01e84f03a.zip
repo: document signing process bug
-rw-r--r--adenosine/src/repo.rs1
1 files changed, 1 insertions, 0 deletions
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)
}