Repository navigation
mppx@0.19.0
·
35 commits
to main
since this release
Minor Changes
-
f2c69d5: Added remote signers (a cloud KMS, an HSM or Turnkey) to the Web Bot Auth and TAP client provers,
Attestation.signand the World ID issuer, through oneSigningKeytype: aCryptoKeyPairor aSigner({ publicKey, sign({ payload }) }). mppx checks each remote signature againstpublicKeybefore it uses it.Breaking: these take a key pair instead of a private key alone.
WebBotAuth.Client.proverno longer takeskeyId: it derives the keyid from the public key.Attestation.sign'skeyIdis optional and defaults to the public key's RFC 7638 thumbprint.- WebBotAuth.Client.prover({ key: keys.privateKey, keyId, scope, signatureAgent }) + WebBotAuth.Client.prover({ key: keys, scope, signatureAgent }) - Tap.Client.prover({ key: keys.privateKey, keyId, intent, scope }) + Tap.Client.prover({ key: keys, keyId, intent, scope }) - Attestation.sign(claims, { key: keys.privateKey, keyId }) + Attestation.sign(claims, { key: keys })
Patch Changes
- 602682c: Fixed HTTP message signing to check a request's signature labels, the new label and a consumed body before it calls a remote signer, so a request it refuses no longer spends a signing operation.
- f253219: Added
mppx/extensions/identity/tempo:TempoId.Server.createverifies Tempo ID access tokens offline, with DPoP proofs, and returns a payment check that requires atempopayment from a Tempo Account the token grants to the app. WithoutclientIdit accepts any app's token. Itsallowoption decides by the user's ID, app, accounts, compliance states, and the email address of an ID token the client sends.TempoId.Client.proversends the access token, a DPoP proof per request, and the optional ID token. - 7645703: Added
mppx/extensions/identity/world:World.Server.verifierrequires a human verified with World ID, as anIdentity-Attestationof typeworld-idfrom a World ID issuer,World.Issuerruns that issuer as a shared service or inside an app, andWorld.Client.proverruns the issuer's device flow, shows the human World IdP's approval link and sends the attestation. - 3233543: Fixed paying from a Zone whose RPC redacts the outbox's
WithdrawalRequestedevent from receipts. The client now derives the sender tag from the outbox'slastFallbackNonceand matches the portal'sWithdrawalProcessedevent on Tempo. A failed read of the sender tag is retried with the Challenge, without withdrawing again, andZoneSettlementPendingErrorhassenderTags, every candidate tag, withsenderTagundefinedwhen more than one remains.