Harness the power of signify(1) to sign arbitrary git objects
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

move sign and verify to raw

+2 -2
+2 -2
src/sign.rs src/raw/sign.rs
··· 17 17 Ok(()) 18 18 } 19 19 20 - /// Sign the revision `rev` with the secret key `key`, write the results 21 - /// to `repo`, and return the corresponding object id of the signature tree. 20 + /// Sign the revision `rev` with the given secret key, write the results 21 + /// to `repo` and return the object id of the resulting signature tree. 22 22 pub fn sign(repo: &Repository, secret_key: &PrivateKey, rev: &str) -> Result<Oid> { 23 23 let oid = repo 24 24 .revparse_single(rev)
src/verify.rs src/raw/verify.rs