@devries-cameron20 / composio Mirror · read-only
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 21, 04:45 UTC

next
json 47 lines 1.54 KB
Raw
1 {
2 "description": "Golden signature test cases - DO NOT MODIFY unless algorithm changes",
3 "algorithm": "HMAC-SHA256",
4 "format": "v1,base64(HMAC-SHA256(id.timestamp.payload, secret))",
5 "testCases": [
6 {
7 "name": "simple payload",
8 "id": "msg_test_001",
9 "timestamp": "1700000000",
10 "payload": "{\"test\":\"data\"}",
11 "secret": "test-secret",
12 "expectedSignature": "v1,4Fay6rvxXDEbH+4oA1fYP2BR/Bwzn3/7ONj40iJQagY="
13 },
14 {
15 "name": "unicode payload",
16 "id": "msg_test_002",
17 "timestamp": "1700000001",
18 "payload": "{\"message\":\"Hello World\"}",
19 "secret": "unicode-secret-key",
20 "expectedSignature": "v1,ICmAFUlesRqIFA44bU6Wlce5GszoHjG+w7nurcu5EWc="
21 },
22 {
23 "name": "complex nested payload",
24 "id": "msg_test_003",
25 "timestamp": "1700000002",
26 "payload": "{\"nested\":{\"array\":[1,2,3],\"object\":{\"key\":\"value\"}}}",
27 "secret": "complex-secret",
28 "expectedSignature": "v1,Vx/pw0yOiRRoxdfifaZ3zBKt4B3KkRKFVr6gLQNJs9Q="
29 },
30 {
31 "name": "empty data object",
32 "id": "msg_test_004",
33 "timestamp": "1700000003",
34 "payload": "{\"data\":{}}",
35 "secret": "empty-data-secret",
36 "expectedSignature": "v1,IbLtu+G65OH8Gw7ZFqy38ru+Jrg96yWfueYMMdaFYs0="
37 },
38 {
39 "name": "special characters in secret",
40 "id": "msg_test_005",
41 "timestamp": "1700000004",
42 "payload": "{\"test\":true}",
43 "secret": "secret!@#$%^&*()",
44 "expectedSignature": "v1,kUvMXJ0rouLoROxY70WIzV+zLQGpSRuCXv8evLTPjXg="
45 }
46 ]
47 }