mirror of
https://github.com/selfxyz/self.git
synced 2026-04-05 03:00:53 -04:00
sheet suggesting contribution if passport not supported
This commit is contained in:
@@ -35,8 +35,8 @@ export function generateCircuitInputsRegister(
|
||||
}
|
||||
|
||||
if (!["sha256WithRSAEncryption", "sha1WithRSAEncryption"].includes(signatureAlgorithm)) {
|
||||
console.error(`${signatureAlgorithm} not supported for proof right now.`);
|
||||
throw new Error(`${signatureAlgorithm} not supported for proof right now.`);
|
||||
console.error(`${signatureAlgorithm} has not been implemented.`);
|
||||
throw new Error(`${signatureAlgorithm} has not been implemented.`);
|
||||
}
|
||||
|
||||
const hashLen = getHashLen(signatureAlgorithm);
|
||||
@@ -50,9 +50,6 @@ export function generateCircuitInputsRegister(
|
||||
|
||||
const concatHash = hash(signatureAlgorithm, dataGroupHashes);
|
||||
|
||||
const sigAlgFormatted = formatSigAlgNameForCircuit(signatureAlgorithm, pubKey.exponent);
|
||||
const sigAlgIndex = SignatureAlgorithm[sigAlgFormatted]
|
||||
|
||||
assert(
|
||||
arraysAreEqual(
|
||||
concatHash,
|
||||
|
||||
Reference in New Issue
Block a user