Skip to content

Commit 4c08c80

Browse files
enhancement: deprecate LMS and LM-OTS (#597)
* enhancement: deprecate LMS and LM-OTS From Issue #591 due to potential for misuse and changes to NIST recommendations. Signed-off-by: Arthur Savage <asavage@redhat.com> * gen: `make all` Signed-off-by: William Woodruff <william@trailofbits.com> --------- Signed-off-by: Arthur Savage <asavage@redhat.com> Signed-off-by: William Woodruff <william@trailofbits.com> Co-authored-by: Arthur Savage <asavage@redhat.com> Co-authored-by: William Woodruff <william@trailofbits.com>
1 parent 5d689af commit 4c08c80

File tree

7 files changed

+47
-36
lines changed

7 files changed

+47
-36
lines changed

gen/pb-go/common/v1/sigstore_common.pb.go

Lines changed: 27 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/pb-python/sigstore_protobuf_specs/dev/sigstore/common/v1/__init__.py

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/pb-ruby/lib/sigstore_common_pb.rb

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/pb-rust/sigstore-protobuf-specs/src/generated/dev.sigstore.common.v1.rs

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.

gen/pb-typescript/src/__generated__/sigstore_common.ts

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protos/sigstore_common.proto

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,10 @@ enum PublicKeyDetails {
9292
PKIX_ECDSA_P521_SHA_256 = 20 [deprecated = true];
9393

9494
// LMS and LM-OTS
95-
//
96-
// These keys and signatures may be used by private Sigstore
97-
// deployments, but are not currently supported by the public
95+
//
96+
// These algorithms are deprecated and should not be used.
97+
// Keys and signatures MAY be used by private Sigstore
98+
// deployments, but will not be supported by the public
9899
// good instance.
99100
//
100101
// USER WARNING: LMS and LM-OTS are both stateful signature schemes.
@@ -104,8 +105,8 @@ enum PublicKeyDetails {
104105
// MUST NOT be used for more than one signature per LM-OTS key.
105106
// If you cannot maintain these invariants, you MUST NOT use these
106107
// schemes.
107-
LMS_SHA256 = 14;
108-
LMOTS_SHA256 = 15;
108+
LMS_SHA256 = 14 [deprecated = true];
109+
LMOTS_SHA256 = 15 [deprecated = true];
109110

110111
// Reserved for future additions of public key/signature algorithm types.
111112
reserved 21 to 50;

0 commit comments

Comments
 (0)