Repository navigation
Release 0.4.0: ECDSA P-384, keys held in a KMS or an HSM, and a FIPS leg - #32
Merged
Merged
Conversation
ECDSAP384 and the KMS shapes ship, with remote: on MLDSA87, COSE and the
hash envelope, and the suite in FIPS mode in CI. Nothing in a 0.3 answer
changes, so a 0.3 host moves by the requirement alone.
Two independent review lanes read everything added since 0.3.0 (key
handling and error surfaces; cryptographic and encoding correctness against
FIPS 204, RFC 3279, RFC 9881 and the AWS KMS API). Neither found anything
Critical, High or Medium; what they found at Low is fixed here:
- A remote's own refusal comes back as {:remote, {:error, reason}}, told
apart from a function that raised; the reason is the host's, documented
as not read or cleaned.
- An ECDSA public point off the curve is refused before any key is used
or service asked.
- Under mu: :auto the empty message goes as mu: AWS KMS takes 1 to 4,096
raw bytes. mu: :never is documented as for a service without that limit.
- The hash envelope's reason type names the new answers; two size claims
in the docs are corrected; ECDSA's s is documented as not normalised.
- The test helper's ML-DSA-87 probe has a positive control; the KMS tests
read the public keys exactly as GetPublicKey returned them; new tests for
4,097 bytes, a left-padded r, s = 0, r = n and a long-form length.
Signed-off-by: Ayla Croft <aylacroft@proton.me>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Releases beam_mcp_signer 0.4.0:
BeamMCP.Signer.ECDSAP384;BeamMCP.Signer.KMS;remote:andmu:onMLDSA87,COSEandCOSE.HashEnvelope;quality gatejob.The CHANGELOG's 0.4.0 section has the detail. Nothing in a 0.3 answer changes, so a 0.3 host moves by the requirement alone;
beam_mcp ~> 0.7stays.Pre-release review
Two independent read-only lanes read everything added since
v0.3.0:Neither found anything Critical, High or Medium. The Low findings, all fixed here:
{:remote, {:error, reason}}. It used to be indistinguishable from a function that raised. The reason is documented as the host's, passed back as it came and not cleaned.{:public_key, :not_on_curve}) before the key is used or the service asked, so no KMS call is made or billed. The probe answersfalsefor a point on the curve and raises for one off it, measured with FIPS mode on and off.mu: :auto: it now goes as μ, because KMS takes 1 to 4,096 raw bytes.mu: :neveris documented as for a service without that limit.HashEnvelope's reason type: it now lists the new answers.typorlocation).s: documented as not normalised.true.GetPublicKeyreturned them;r,s = 0,r = n,r = n + 1and a long-form DER length.Measured
--enable-fips): 141 tests, 0 failures under provider 3.5.9 and under provider 3.1.2.--only aws_live): 3 tests, 0 failures.--strictclean,mix docs0 warnings, REUSE 3.3 compliant.After merge (the owner)
Tag the release commit signed, publish with
tools/release_tarball.sh v0.4.0 … --publishunder Hex 2.5.1 (tools/hex-version), then push the tag.provenance.ymlattests the tag's run against hex.pm's bytes.