Skip to content

Commit 5a4e3ab

Browse files
authored
Merge pull request #5260 from psafont/fingersha
CA-385315: document the certificates' fingerprints hash algorithm
2 parents 181c9d9 + 6ac4764 commit 5a4e3ab

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ocaml/idl/datamodel_certificate.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,6 @@ let t =
6565
"Date before which the certificate is valid"
6666
; field ~qualifier:StaticRO ~lifecycle ~ty:String "fingerprint"
6767
~default_value:(Some (VString ""))
68-
"The certificate's fingerprint / hash"
68+
"The certificate's SHA256 fingerprint / hash"
6969
]
7070
~messages:[] ()

ocaml/idl/datamodel_common.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ open Datamodel_roles
1010
to leave a gap for potential hotfixes needing to increment the schema version.*)
1111
let schema_major_vsn = 5
1212

13-
let schema_minor_vsn = 767
13+
let schema_minor_vsn = 768
1414

1515
(* Historical schema versions just in case this is useful later *)
1616
let rio_schema_major_vsn = 5

ocaml/idl/schematest.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ let hash x = Digest.string x |> Digest.to_hex
22

33
(* BEWARE: if this changes, check that schema has been bumped accordingly in
44
ocaml/idl/datamodel_common.ml, usually schema_minor_vsn *)
5-
let last_known_schema_hash = "95077aed35b715c362c7cf98902de578"
5+
let last_known_schema_hash = "8ff8c73b261e332b889583c8b2df5ecc"
66

77
let current_schema_hash : string =
88
let open Datamodel_types in

0 commit comments

Comments
 (0)