Feature #31698

HMAC Convenience methods in HashService

Added by Bastian Waidelich over 3 years ago. Updated over 3 years ago.

Status:Resolved Start date:2011-11-09
Priority:Should have Due date:
Assigned To:Bastian Waidelich % Done:

100%

Category:Security
Target version:TYPO3 Flow Base Distribution - 1.1 beta 1
PHP Version: Complexity:easy
Has patch:No

Description

The Cryptography\HashService currently comes with two methods for creating & validating HMAC hashes: generateHmac() and validateHmac().
That requires the user to deal with the actual string and it's hash individually.
I suggest to add two methods appendHmac() and validateAndStripHmac() that allows the user to simply append the HMAC to a given string.

Associated revisions

Revision 061beb04
Added by Bastian Waidelich over 3 years ago

[FEATURE] (Security): HMAC Convenience methods in HashService

This adds the methods appendHmac() and validateAndStripHmac()
to the Cryptography\HashService allowing users to deal with HMAC
validation more conveniently.

Change-Id: If3417ca25094da9e28a923a0b43c2735932b6060
Resolves: #31698
Release: 1.1

History

#1 Updated by Mr. Hudson over 3 years ago

  • Status changed from Accepted to Under Review

Patch set 1 of change If3417ca25094da9e28a923a0b43c2735932b6060 has been pushed to the review server.
It is available at http://review.typo3.org/6608

#2 Updated by Mr. Hudson over 3 years ago

Patch set 2 of change If3417ca25094da9e28a923a0b43c2735932b6060 has been pushed to the review server.
It is available at http://review.typo3.org/6608

#3 Updated by Mr. Hudson over 3 years ago

Patch set 3 of change If3417ca25094da9e28a923a0b43c2735932b6060 has been pushed to the review server.
It is available at http://review.typo3.org/6608

#4 Updated by Mr. Hudson over 3 years ago

Patch set 4 of change If3417ca25094da9e28a923a0b43c2735932b6060 has been pushed to the review server.
It is available at http://review.typo3.org/6608

#5 Updated by Bastian Waidelich over 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#6 Updated by Karsten Dambekalns over 3 years ago

  • Target version changed from 1.1 to 1.1 beta 1

Also available in: Atom PDF