stable

Clone or download

Read-only

Harden the Tuleap cryptography API

This contribution makes sure that: * functions used inside the API cannot be overridden * parameters are of the expected type This is part of story #10606: encrypt bugzilla credentials (API key) before storing in the DB Change-Id: I369c2276069bbcebf8dc3e8c059888d400f9a97d

Modified Files

Name
M src/common/Cryptography/ConcealedString.php +3 −0 Go to diff View file
M src/common/Cryptography/KeyFactory.php +14 −10 Go to diff View file
M src/common/Cryptography/Symmetric/EncryptionKey.php +1 −1 Go to diff View file
M src/common/Cryptography/Symmetric/SymmetricCrypto.php +10 −6 Go to diff View file
M tests/simpletest/common/Cryptography/ConcealedStringTest.php +6 −0 Go to diff View file
M tests/simpletest/common/Cryptography/Symmetric/SymmetricCryptoTest.php +8 −0 Go to diff View file