mirror of
https://github.com/selfxyz/self.git
synced 2026-04-05 03:00:53 -04:00
Bringing openpassport/main (#19)
Co-authored-by: seshanthS <seshanth@protonmail.com> Co-authored-by: turnoffthiscomputer <colin.remi07@gmail.com> Co-authored-by: thomas-senechal <thomas.senechal@pm.me> Co-authored-by: motemotech <i.am.nicoshark@gmail.com> Co-authored-by: turnoffthiscomputer <98749896+remicolin@users.noreply.github.com> Co-authored-by: ayman <aymanshaik1015@gmail.com>
This commit is contained in:
@@ -8,7 +8,7 @@ import { groth16 } from 'snarkjs'
|
||||
import { expect } from "chai";
|
||||
import path from 'path';
|
||||
|
||||
const max_cert_bytes = 1664;
|
||||
const max_dsc_bytes = 1664;
|
||||
|
||||
const vkey_sha256_rsa = JSON.parse(fs.readFileSync(path.join(__dirname, '../src/vkey/dsc_rsa_65537_sha256_4096_vkey.json'), 'utf8'));
|
||||
const vkey_sha256_rsapss = JSON.parse(fs.readFileSync(path.join(__dirname, '../src/vkey/dsc_rsapss_65537_sha256_4096_vkey.json'), 'utf8'));
|
||||
@@ -22,7 +22,7 @@ describe('MODAL PROVER', function () {
|
||||
const inputs = generateCircuitInputsDSC(
|
||||
BigInt(0).toString(),
|
||||
mock_dsc_sha256_rsapss_4096,
|
||||
max_cert_bytes,
|
||||
max_dsc_bytes,
|
||||
true
|
||||
);
|
||||
console.log('\x1b[34msending request to modal server\x1b[0m');
|
||||
@@ -43,7 +43,7 @@ describe('MODAL PROVER', function () {
|
||||
const inputs = generateCircuitInputsDSC(
|
||||
BigInt(0).toString(),
|
||||
mock_dsc_sha256_rsa_4096,
|
||||
max_cert_bytes,
|
||||
max_dsc_bytes,
|
||||
true
|
||||
);
|
||||
//console.log(JSON.stringify(inputs));
|
||||
@@ -66,7 +66,7 @@ describe('MODAL PROVER', function () {
|
||||
const inputs = generateCircuitInputsDSC(
|
||||
BigInt(0).toString(),
|
||||
mock_dsc_sha1_rsa_4096,
|
||||
max_cert_bytes,
|
||||
max_dsc_bytes,
|
||||
true
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user