-
Notifications
You must be signed in to change notification settings - Fork 5
security: remove hardcoded private keys from published SDK packageFix/remove hardcoded private keys #255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
security: remove hardcoded private keys from published SDK packageFix/remove hardcoded private keys #255
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,15 +11,13 @@ export const MOCKS_THRESHOLD_NETWORK_ADDRESS = '0x000000000000000000000000000000 | |
| export const TEST_BED_ADDRESS = '0x0000000000000000000000000000000000005003' as const; | ||
|
|
||
| /** Private key for the Mock ZK Verifier signer account */ | ||
| export const MOCKS_ZK_VERIFIER_SIGNER_PRIVATE_KEY = | ||
| '0x6C8D7F768A6BB4AAFE85E8A2F5A9680355239C7E14646ED62B044E39DE154512' as const; | ||
| export const MOCKS_ZK_VERIFIER_SIGNER_PRIVATE_KEY = process.env.MOCK_ZK_SIGNER_PK; | ||
|
|
||
| /** Address for the Mock ZK Verifier signer account */ | ||
| export const MOCKS_ZK_VERIFIER_SIGNER_ADDRESS = '0x6E12D8C87503D4287c294f2Fdef96ACd9DFf6bd2' as const; | ||
|
|
||
| /** Private key for the Mock decrypt result signer account */ | ||
| export const MOCKS_DECRYPT_RESULT_SIGNER_PRIVATE_KEY = | ||
| '0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d' as const; | ||
| export const MOCKS_DECRYPT_RESULT_SIGNER_PRIVATE_KEY = process.env.MOCK_DECRYPT_SIGNER_PK; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Environment variable keys break mock SDK functionsHigh Severity
Additional Locations (1)Reviewed by Cursor Bugbot for commit bb4cec8. Configure here. |
||
|
|
||
| /** Maximum total bits for ZK proof packing */ | ||
| export const TFHE_RS_ZK_MAX_BITS = 2048 as const; | ||
|
|
||


Uh oh!
There was an error while loading. Please reload this page.