coheigea opened a new pull request, #769: URL: https://github.com/apache/ws-wss4j/pull/769
A UsernameToken is accepted until its Created time plus utTTL, and the Created time may be up to utFutureTTL in the future. Its Nonce was only cached until the current time plus utTTL, so a token whose Created time was in the future could be replayed at the end of its validity. Cache the Nonce until Created + utTTL instead. The signature of a message with a Timestamp was cached until the Timestamp's Expires value, or for the cache's default TTL if there was none. But the Timestamp is accepted until its Created time plus timeStampTTL, which can be later: with no Expires and a Created time in the future, or with a non-strict Timestamp check, which does not enforce Expires. Cache the signature until the later of Expires and Created + timeStampTTL instead. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
