-
Notifications
You must be signed in to change notification settings - Fork 3
Description
One thing that would be -really- good to agree on nowish would be versioning.
If we can agree on versioning it will allow early implementations of signing to easily migrate to new signing formats.
I propose the following very limited scope:
- We agree on json (but not nessesarily everything outlined in Signature Format #4 yet)
- We agree on the key: {version:"$SEMVER"}
- We agree on storing signature wrapper as plaintext single lines
- We agree on the git notes path: "refs/notes/signatures" for a given object we are signing.
If we can at least agree on the above, then early WIP implementations of git-signatures that I need to ship to multiple organizations ASAP can cleanly migrate to an official spec when there is one.
Even if we never include anything in the spec but the the commit hash alone offically with the rest being implementation specific extensions... versioning will still be useful when/if migrates to other hashing formats, or introduces other hash types in the future we might want to use (lots of ideas in mailing list that might materialize at some point).
In https://github.com/hashbang/git-signatures I can do this right away and use {version:"0.1.0-gs",...} until we can form agreement on the rest of the spec.
Thoughts?