Skip to content

Commit

Permalink
fix mac creation, encryption modifiers, simplify walkAndDecrypt and d…
Browse files Browse the repository at this point in the history
…ecryptScalar, improve error output
  • Loading branch information
tbrockmeyer-a committed Aug 7, 2024
1 parent 8a73332 commit bbba963
Show file tree
Hide file tree
Showing 6 changed files with 805 additions and 113 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ npm-debug.log
.DS_Store
build
secure.enc.json
/coverage
64 changes: 64 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"signingKey": "ENC[AES256_GCM,data:rHspVwwjrWPV0M0=,iv:wGXW91GOGflFeBY2YD30AKa++fXOPkC6YaRW3Xr3ytc=,tag:DmxZ1yCaTH507Us440BUMQ==,type:str]",
"asurionIdApi": [
{
"url": "https://api.stage.asurionid.dev",
"tokenUri": "https://stage.asurionid.dev/oauth2/token",
"scope": "account:read account-profile:read",
"credentials": {
"username": "edsapi-api",
"password": "ENC[AES256_GCM,data:t2d7/MhOkWyKXHfz/WtCnBUqvxZYz270mklnER7U6qdF2QBG0wgV2w==,iv:TbvMXVOAptuefVsNbiewaVvVFSOQQXIDCWDsgoVUxkA=,tag:G5tTeXtcQhw2iw7FMYabxA==,type:str]"
}
}
],
"eapi": [
{
"tokenUri": "https://edpapi-npr-us-east-1.auth.us-east-1.amazoncognito.com/oauth2/token",
"scope": "customeragreementsapi/get customerclaimsapi/get customerapi/get customersegmentationapi/get att/get multi/get verizon/get",
"credentials": {
"username": "6gt6hkjh6co16c5vvf89r9jc3",
"password": "ENC[AES256_GCM,data:g/4jmFs+YNK0bjA/7/0qNqf5YfHT7XYTA2H6rWefRbZWT2lKFuxS4tXfZBoOXRxjH2j1,iv:xsq4wxdZ5c/tQn2HBI0WJi2T4nndtkaq2KBeV+IXlEY=,tag:VbxkMpvkhourFzNPE1a/8Q==,type:str]"
}
}
],
"eds_att": {
"user": "eds_customer_eapi_ro",
"password": "ENC[AES256_GCM,data:PRXyJZ0MYXFUy3O9Vn44o+VsNkOnqzc1LwfYfAm/FtQ=,iv:Vj/bbDqMgcOmXyiA3JnzHqfCCadmB/Sd0hgp1OSuRZo=,tag:f++Form/UhWXLp+/X8eTLw==,type:str]",
"database": "customer"
},
"eds_verizon": {
"user": "eds_customer_eapi_ro",
"password": "ENC[AES256_GCM,data:Avr4BqC/4l0uzqvEumjwwModwG2jAjlTEegOv7LA1/8=,iv:qBW5yiDKsD/c0VUu+Mp3hHaeoxscBJwI70ba29UaXA8=,tag:PErbIWcCitG8VVrTVy9HyA==,type:str]",
"database": "customer"
},
"eds_multitenant": {
"user": "eds_customer_eapi_ro",
"password": "ENC[AES256_GCM,data:maytAikTxc1NG5yXcnjOj4WaQNjrP4BKoaQshTRMWTM=,iv:lhLhrm4ZUCtBSCIeEzI85rUbv5sZL7LoXaErduSRrs4=,tag:0XUsagrEx3mNXw5MAA9Zjg==,type:str]",
"database": "customer"
},
"sops": {
"kms": [
{
"arn": "arn:aws:kms:us-east-1:807093730725:key/mrk-15dd169b6bc94f68bcc6a903a51fdf36",
"created_at": "2022-05-19T18:53:27Z",
"enc": "AQICAHgHlRJ620cAlBZqYND/ifqINNW1hA7gHLDisqIRq3iCKwHpXAy/9rcS01IOkK71GtFVAAAAfjB8BgkqhkiG9w0BBwagbzBtAgEAMGgGCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQMuVl20vE9eo8tXWUGAgEQgDs82KCy0eb199IeyBmg2CqUg/FG2CH/WoADG8AeureZWnr6WG1psLj9p33OaQbq0nsOtaL6y6sFxDMtHw==",
"aws_profile": ""
},
{
"arn": "arn:aws:kms:us-east-2:807093730725:key/mrk-15dd169b6bc94f68bcc6a903a51fdf36",
"created_at": "2022-05-19T18:53:27Z",
"enc": "AQICAHgHlRJ620cAlBZqYND/ifqINNW1hA7gHLDisqIRq3iCKwFlnJYPQy3NTy6U0u7SU5YWAAAAfjB8BgkqhkiG9w0BBwagbzBtAgEAMGgGCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQMBb+FUa2FazKvqiPaAgEQgDsuU6ndZdaZ7GlX8DY+B0BDKFGYGsc+6quro+GhYnBEVBYr+9VckmoOsguIRRzH9IWJjc6hiQI+qhPn8g==",
"aws_profile": ""
}
],
"gcp_kms": null,
"azure_kv": null,
"hc_vault": null,
"age": null,
"lastmodified": "2024-08-06T17:51:49Z",
"mac": "ENC[AES256_GCM,data:jei4Ex7+vsYKewtvB1RQgkqXfbHEVhq+khDR39mp3pTOtQBTv1NzW32m4bf+goztdr//AQMsx+LUuu8Tlyuubq+v1FrH4RfrwDvGWizu51EVVsUY+YdVhaaauBQe/uJEEBRuJKeP4D1lvFo5/SKgOHssLbz+yWC6NTw7tv9MP6Y=,iv:Gea0PF9tmfY9plBPqOUiivTJqPONqkfY1jIYv1EtlF4=,tag:OAXXd9uZdC73uYLfcwFvrQ==,type:str]",
"pgp": null,
"encrypted_regex": "(password|[kK]ey)",
"version": "3.9.0"
}
}
Loading

0 comments on commit bbba963

Please sign in to comment.