liveBook · Manning

Nonrepudiation

As explained in Software Security for Developers

Nonrepudiation is the legal and technical property that provides proof that a specific action or message was performed or sent by a specific party.

Nonrepudiation provides evidence that a specific party sent a message or performed a transaction, making denial difficult after the action. In an e-commerce flow, it strengthens trust between customers, merchants, and payment services beyond integrity and authentication alone. section 4.1 section 4.8

Distinguish nonrepudiation from related cryptographic guarantees:

  • Hash functions detect changes but provide neither sender authentication nor nonrepudiation. section 4.7
  • HMAC provides integrity and authentication, but shared-key verification cannot prove which party created the value. section 6.3.3
  • Digital signatures use a private key to sign and a matching public key to verify, providing integrity, authentication, and nonrepudiation. section 6.3.3

Warehouse-to-payment message

A warehouse service signs data with its private key. The payment service, or another verifier, checks the signature with the corresponding public key. Because only the private-key holder should create the signature, the message has stronger proof of origin than an HMAC; digital signatures trade performance for that guarantee. section 6.3.3

Figure 6.6 Using RSA for digital signatures. The warehouse service signs data with its private key, and the payment service (or any other service) can verify the signature using the corresponding public key. This approach ensures integrity and authenticity because only the service that holds the private key can create the signature.
figure

Trace the private-key signing and public-key verification flow between services. section 6.3.3

How Software Security for Developers covers it

How deep it goes
Defines the property and contrasts HMAC with digital signatures, but does not develop legal procedures or protocol internals.
Examples
Uses e-commerce transactions and warehouse-to-payment service messages to illustrate signing and verification.
What you can do after
Evaluate when digital signatures are preferable to HMACs because proving the signer matters more than maximum performance.
How it connects
Connects nonrepudiation to digital signatures, public-key cryptography, HMAC, integrity, and authentication.

Also explained in

Compare how 5 books explain nonrepudiation →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Software Security for Developers. The section links point to the parts of the book it draws on.