Class: M2mKeygen::NonceStore::Disabled
- Inherits:
-
Object
- Object
- M2mKeygen::NonceStore::Disabled
- Extended by:
- T::Sig
- Includes:
- M2mKeygen::NonceStore
- Defined in:
- lib/m2m_keygen/nonce_store/disabled.rb
Overview
Explicit, greppable opt-out: add always succeeds, so replay protection
falls back to expiry-only. See docs/ for when that risk is acceptable.
Instance Method Summary collapse
Instance Method Details
#add(nonce, ttl:) ⇒ Object
13 14 15 |
# File 'lib/m2m_keygen/nonce_store/disabled.rb', line 13 def add(nonce, ttl:) true end |