stable
Clone or download
Read-only
For now, the cleartext API key is kept since we are not able to decrypt the encrypted one. This is part of story #10606: encrypt bugzilla credentials (API key) before storing in the DB Change-Id: I5cb8951bd5c838effa142828336166dea69b4a62
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/bugzilla_reference/db/install.sql | +1 | −0 | Go to diff View file |
A | plugins/bugzilla_reference/db/updates/2017/201709271340_add_encrypted_api_key_field.php | +52 | −0 | Go to diff View file |
M | plugins/bugzilla_reference/include/Bugzilla/Reference/Dao.php | +7 | −4 | Go to diff View file |
M | plugins/bugzilla_reference/include/Bugzilla/Reference/ReferenceSaver.php | +16 | −3 | Go to diff View file |
M | plugins/bugzilla_reference/include/bugzilla_referencePlugin.class.php | +13 | −4 | Go to diff View file |
A | src/common/Cryptography/ConcealedString.php | +55 | −0 | Go to diff View file |
M | src/common/Cryptography/Key.php | +2 | −2 | Go to diff View file |
M | src/common/Cryptography/KeyFactory.php | +4 | −2 | Go to diff View file |
M | src/common/Cryptography/Symmetric/EncryptionKey.php | +4 | −3 | Go to diff View file |
A | src/common/Cryptography/Symmetric/SymmetricCrypto.php | +41 | −0 | Go to diff View file |
M | src/common/autoload.php | +4 | −2 | Go to diff View file |
A | tests/simpletest/common/Cryptography/ConcealedStringTest.php | +33 | −0 | Go to diff View file |
M | tests/simpletest/common/Cryptography/KeyTest.php | +3 | −3 | Go to diff View file |
M | tests/simpletest/common/Cryptography/Symmetric/EncryptionKeyTest.php | +4 | −2 | Go to diff View file |
A | tests/simpletest/common/Cryptography/Symmetric/SymmetricCryptoTest.php | +45 | −0 | Go to diff View file |