Skip to content

Commit

Permalink
fix prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
Arvolear committed Oct 30, 2024
1 parent 4bcfb1e commit d68451b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions deploy/10_setup.migration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ export = async (deployer: Deployer) => {
const cRsaPss2048Sha512Dispatcher = await deployer.deployed(CRSADispatcher__factory, "CRSAPSSDispatcher SHA512 256");
const cRsaPss4096Sha512Dispatcher = await deployer.deployed(CRSADispatcher__factory, "CRSAPSSDispatcher SHA512 512");

const cEcdsa512Sha2Dispatcher = await deployer.deployed(CECDSADispatcher__factory, "CECDSADispatcher SHA2 64");
const cEcdsaSecp384r1512Sha2Dispatcher = await deployer.deployed(
CECDSADispatcher__factory,
"CECDSADispatcher SHA2 64",
);

const pRsaSha12688Dispatcher = await deployer.deployed(PRSASHADispatcher__factory, "PRSASHADispatcher 65537 SHA1");
const pRsaSha126883Dispatcher = await deployer.deployed(PRSASHADispatcher__factory, "PRSASHADispatcher 3 SHA1");
Expand Down Expand Up @@ -159,7 +162,7 @@ export = async (deployer: Deployer) => {

await registration.mockAddCertificateDispatcher(
C_ECDSA_SECP384R1_SHA2_512,
await cEcdsa512Sha2Dispatcher.getAddress(),
await cEcdsaSecp384r1512Sha2Dispatcher.getAddress(),
);

await registration.mockAddPassportDispatcher(P_RSA_SHA1_2688, await pRsaSha12688Dispatcher.getAddress());
Expand Down
2 changes: 1 addition & 1 deletion deploy/2_registration.migration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export = async (deployer: Deployer) => {
await deployCRSAPSSDispatcher(deployer, "SHA512", "65537", "256", "0x0282010100");
await deployCRSAPSSDispatcher(deployer, "SHA512", "65537", "512", "0x0282020100");

await deployCECDSADispatcher(deployer, "SHA2", "64", "0x0103420004");
await deployCECDSADispatcher(deployer, "SHA2", "64", "0x03420004");

await deployPRSASHA2688Dispatcher(deployer, "65537", "SHA1");
await deployPRSASHA2688Dispatcher(deployer, "3", "SHA1");
Expand Down

0 comments on commit d68451b

Please sign in to comment.