Skip to content

Commit 383cbeb

Browse files
Dubey, AkshayDubey, Akshay
authored andcommitted
Addressing comments. -cert
1 parent 0bada0c commit 383cbeb

8 files changed

Lines changed: 6 additions & 58 deletions
Binary file not shown.

python/test/resources/digital-enablement-sandbox-encryption-key.crt

Lines changed: 0 additions & 26 deletions
This file was deleted.
-2.33 KB
Binary file not shown.

python/test/resources/fle_config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"encryptedKeyFieldName": "encryptedKey",
1717
"encryptedValueFieldName": "encryptedData",
1818
"dataEncoding": "hex",
19-
"encryptionCertificate": "resources/public_key.cer",
20-
"decryptionKey": "resources/sbxprivkey.key",
19+
"encryptionCertificate": "<TODO>",
20+
"decryptionKey": "<TODO>",
2121
"oaepPaddingDigestAlgorithm": "SHA-256",
2222
"encryptionCertificateFingerprintFieldName": "publicKeyFingerprint",
2323
"oaepPaddingDigestAlgorithmFieldName": "oaepHashingAlgorithm"
-2.33 KB
Binary file not shown.

python/test/resources/public_key.cer

Lines changed: 0 additions & 26 deletions
This file was deleted.
-1.19 KB
Binary file not shown.

python/test/test_tokenize_api.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
The MDES APIs are designed as RPC style stateless web services where each API endpoint represents an operation to be performed. All request and response payloads are sent in the JSON (JavaScript Object Notation) data-interchange format. Each endpoint in the API specifies the HTTP Method used to access it. All strings in request and response objects are to be UTF-8 encoded. Each API URI includes the major and minor version of API that it conforms to. This will allow multiple concurrent versions of the API to be deployed simultaneously. # noqa: E501
77
88
The version of the OpenAPI document: 1.2.7
9-
Generated by: https://openapi-generastor.tech
9+
Generated by: https://openapi-generator.tech
1010
"""
1111

1212
from __future__ import absolute_import
@@ -30,9 +30,9 @@
3030

3131
FLE_CONFIG_PATH = "resources/fle_config.json"
3232
BASE_PATH = "https://sandbox.api.mastercard.com/mdes"
33-
P12 = "resources/keyalias-sandbox.p12" # TODO
34-
KEY_PASSWORD = 'QvX=Txk6Qx7McS^G87jT' # TODO
35-
CONSUMER_KEY = '-QFPBu19Z9Bs34J5Lk1d1X5AzNMJGfvVXwE6FA_Ca4ad42f7!2bf140a79c764955b0589721e68fea560000000000000000' # TODO
33+
P12 = '' # TODO
34+
KEY_PASSWORD = '' # TODO
35+
CONSUMER_KEY = '' # TODO
3636

3737

3838
class TestTokenizeApi(unittest.TestCase):

0 commit comments

Comments
 (0)