mirror of
https://github.com/selfxyz/self.git
synced 2026-04-27 03:01:15 -04:00
temporarily commenting sha1 leaf for app to work
This commit is contained in:
@@ -30,12 +30,12 @@ export function generateCircuitInputsRegister(
|
||||
exponent: mockPassportData_sha256WithRSAEncryption_65537.pubKey.exponent
|
||||
}).toString());
|
||||
|
||||
tree.insert(getLeaf({
|
||||
signatureAlgorithm: mockPassportData_sha1WithRSAEncryption_65537.signatureAlgorithm,
|
||||
issuer: 'C = TS, O = Government of Syldavia, OU = Ministry of tests, CN = CSCA-TEST',
|
||||
modulus: mockPassportData_sha1WithRSAEncryption_65537.pubKey.modulus,
|
||||
exponent: mockPassportData_sha1WithRSAEncryption_65537.pubKey.exponent
|
||||
}).toString());
|
||||
// tree.insert(getLeaf({
|
||||
// signatureAlgorithm: mockPassportData_sha1WithRSAEncryption_65537.signatureAlgorithm,
|
||||
// issuer: 'C = TS, O = Government of Syldavia, OU = Ministry of tests, CN = CSCA-TEST',
|
||||
// modulus: mockPassportData_sha1WithRSAEncryption_65537.pubKey.modulus,
|
||||
// exponent: mockPassportData_sha1WithRSAEncryption_65537.pubKey.exponent
|
||||
// }).toString());
|
||||
}
|
||||
|
||||
if (!["sha256WithRSAEncryption", "sha1WithRSAEncryption"].includes(passportData.signatureAlgorithm)) {
|
||||
|
||||
Reference in New Issue
Block a user