chore(security): enhance environment configuration, CI workflows, and wallet daemon with security improvements
- Restructure .env.example with security-focused documentation, service-specific environment file references, and AWS Secrets Manager integration - Update CLI tests workflow to single Python 3.13 version, add pytest-mock dependency, and consolidate test execution with coverage - Add comprehensive security validation to package publishing workflow with manual approval gates, secret scanning, and release
This commit is contained in:
20
apps/zk-circuits/receipt_simple_clean.circom
Normal file
20
apps/zk-circuits/receipt_simple_clean.circom
Normal file
@@ -0,0 +1,20 @@
|
||||
pragma circom 2.0.0;
|
||||
|
||||
include "node_modules/circomlib/circuits/bitify.circom";
|
||||
include "node_modules/circomlib/circuits/poseidon.circom";
|
||||
|
||||
/*
|
||||
* Simple Receipt Attestation Circuit
|
||||
*/
|
||||
|
||||
template SimpleReceipt() {
|
||||
signal input receiptHash;
|
||||
signal input receipt[4];
|
||||
component hasher = Poseidon(4);
|
||||
for (var i = 0; i < 4; i++) {
|
||||
hasher.inputs[i] <== receipt[i];
|
||||
}
|
||||
hasher.out === receiptHash;
|
||||
}
|
||||
|
||||
component main = SimpleReceipt();
|
||||
Reference in New Issue
Block a user