aboutsummaryrefslogtreecommitdiffstats
path: root/identity
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2021-03-14 18:39:04 +0100
committerMichael Muré <batolettre@gmail.com>2021-03-14 18:40:50 +0100
commitf1d4a19af81fcc05ae9d90e018ff141f6521335a (patch)
tree9d82815e93a2d3a0856962249798f8adac81a1a6 /identity
parentbd09541752ef4db008500d238762ebe7f2f7be39 (diff)
downloadgit-bug-f1d4a19af81fcc05ae9d90e018ff141f6521335a.tar.gz
bug: nonce on all operation to prevent id collision
Diffstat (limited to 'identity')
-rw-r--r--identity/version.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/identity/version.go b/identity/version.go
index cbd56a98..1c35831e 100644
--- a/identity/version.go
+++ b/identity/version.go
@@ -37,7 +37,7 @@ type version struct {
keys []*Key
// mandatory random bytes to ensure a better randomness of the data of the first
- // version of a bug, used to later generate the ID
+ // version of an identity, used to later generate the ID
// len(Nonce) should be > 20 and < 64 bytes
// It has no functional purpose and should be ignored.
// TODO: optional after first version?