Skip to content

Commit

Permalink
Path update for conf and workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
remedcu committed Sep 20, 2024
1 parent cc95356 commit 7944e6c
Show file tree
Hide file tree
Showing 12 changed files with 42 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/certora_passkey.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
run: pnpm install

- name: Verify rule ${{ matrix.rule }}
working-directory: ./modules/4337
working-directory: ./modules/passkey
run: |
echo "Certora key length" ${#CERTORAKEY}
certoraRun certora/conf/${{ matrix.rule }}.conf --wait_for_results=all
Expand Down
6 changes: 3 additions & 3 deletions modules/passkey/certora/confs/GetConfigurationConf.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"assert_autofinder_success": true,
"files": [
"certora/munged/SafeWebAuthnSignerSingleton.sol",
"certora/harnesses/GetConfigurationProxyHarness.sol",
"modules/passkey/contracts/SafeWebAuthnSignerFactory.sol"
"../munged/SafeWebAuthnSignerSingleton.sol",
"../harnesses/GetConfigurationProxyHarness.sol",
"../../contracts/SafeWebAuthnSignerFactory.sol"
],
"link": [
"GetConfigurationProxyHarness:_SINGLETON=SafeWebAuthnSignerSingleton"
Expand Down
6 changes: 3 additions & 3 deletions modules/passkey/certora/confs/GetSigner.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"assert_autofinder_success": true,
"files": [
"certora/harnesses/GetSignerHarness.sol",
"modules/passkey/contracts/SafeWebAuthnSignerSingleton.sol",
"modules/passkey/contracts/SafeWebAuthnSignerProxy.sol"
"../harnesses/GetSignerHarness.sol",
"../../contracts/SafeWebAuthnSignerSingleton.sol",
"../../contracts/SafeWebAuthnSignerProxy.sol"
],
"hashing_length_bound": "4694",
"link": [
Expand Down
10 changes: 5 additions & 5 deletions modules/passkey/certora/confs/ProxySimulator.conf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"assert_autofinder_success": true,
"files": [
"certora/harnesses/ProxySimulator.sol",
"modules/passkey/contracts/SafeWebAuthnSignerProxy.sol",
"modules/passkey/contracts/SafeWebAuthnSignerSingleton.sol",
"modules/passkey/contracts/libraries/P256.sol",
"certora/harnesses/WebAuthnHarnessWithMunge.sol"
"../harnesses/ProxySimulator.sol",
"../../contracts/SafeWebAuthnSignerProxy.sol",
"../../contracts/SafeWebAuthnSignerSingleton.sol",
"../../contracts/libraries/P256.sol",
"../harnesses/WebAuthnHarnessWithMunge.sol"
],
"hashing_length_bound": "2048",
"link": [
Expand Down
8 changes: 4 additions & 4 deletions modules/passkey/certora/confs/SafeWebAuthnSignerFactory.conf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"assert_autofinder_success": true,
"files": [
"certora/harnesses/FactoryHarnessForSignerConsistency.sol",
"certora/harnesses/WebAuthnHarnessWithMunge.sol",
"modules/passkey/contracts/SafeWebAuthnSignerSingleton.sol",
"modules/passkey/contracts/SafeWebAuthnSignerProxy.sol"
"../harnesses/FactoryHarnessForSignerConsistency.sol",
"../harnesses/WebAuthnHarnessWithMunge.sol",
"../../contracts/SafeWebAuthnSignerSingleton.sol",
"../../contracts/SafeWebAuthnSignerProxy.sol"
],
"link": [
"FactoryHarnessForSignerConsistency:SINGLETON=SafeWebAuthnSignerSingleton"
Expand Down
6 changes: 3 additions & 3 deletions modules/passkey/certora/confs/SafeWebAuthnSignerProxy.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"assert_autofinder_success": true,
"files": [
"modules/passkey/contracts/SafeWebAuthnSignerProxy.sol",
"modules/passkey/contracts/SafeWebAuthnSignerSingleton.sol",
"modules/passkey/contracts/libraries/P256.sol"
"../../contracts/SafeWebAuthnSignerProxy.sol",
"../../contracts/SafeWebAuthnSignerSingleton.sol",
"../../contracts/libraries/P256.sol"
],
"link": [
"SafeWebAuthnSignerProxy:_VERIFIERS=P256",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"assert_autofinder_success": true,
"files": [
"modules/passkey/contracts/SafeWebAuthnSignerFactory.sol",
"modules/passkey/contracts/SafeWebAuthnSignerSingleton.sol",
"modules/passkey/contracts/libraries/P256.sol",
"certora/harnesses/WebAuthnHarnessWithMunge.sol"
"../../contracts/SafeWebAuthnSignerFactory.sol",
"../../contracts/SafeWebAuthnSignerSingleton.sol",
"../../contracts/libraries/P256.sol",
"../harnesses/WebAuthnHarnessWithMunge.sol"
],
"link": [
"SafeWebAuthnSignerFactory:SINGLETON=SafeWebAuthnSignerSingleton"
Expand Down
10 changes: 5 additions & 5 deletions modules/passkey/certora/confs/SignerCreationCantOverride.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"createAndVerifyEQtoIsValidSignatureForSigner"
],
"files": [
"certora/harnesses/SafeWebAuthnSignerFactoryHarness.sol",
"modules/passkey/contracts/SafeWebAuthnSignerSingleton.sol",
"modules/passkey/contracts/SafeWebAuthnSignerProxy.sol",
"modules/passkey/contracts/libraries/P256.sol",
"certora/harnesses/WebAuthnHarnessWithMunge.sol"
"../harnesses/SafeWebAuthnSignerFactoryHarness.sol",
"../../contracts/SafeWebAuthnSignerSingleton.sol",
"../../contracts/SafeWebAuthnSignerProxy.sol",
"../../contracts/libraries/P256.sol",
"../harnesses/WebAuthnHarnessWithMunge.sol"
],
"hashing_length_bound": "912",
"link": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"assert_autofinder_success": true,
"files": [
"modules/passkey/contracts/SafeWebAuthnSignerFactory.sol",
"modules/passkey/contracts/SafeWebAuthnSignerSingleton.sol",
"modules/passkey/contracts/libraries/P256.sol",
"certora/harnesses/WebAuthnHarnessWithMunge.sol"
"../../contracts/SafeWebAuthnSignerFactory.sol",
"../../contracts/SafeWebAuthnSignerSingleton.sol",
"../../contracts/libraries/P256.sol",
"../harnesses/WebAuthnHarnessWithMunge.sol"
],
"loop_iter": "6",
"optimistic_hashing": true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"assert_autofinder_success": true,
"files": [
"certora/harnesses/SafeWebAuthnSignerFactoryHarness.sol",
"certora/harnesses/WebAuthnHarnessWithMunge.sol",
"modules/passkey/contracts/SafeWebAuthnSignerSingleton.sol",
"modules/passkey/contracts/SafeWebAuthnSignerProxy.sol"
"../harnesses/SafeWebAuthnSignerFactoryHarness.sol",
"../harnesses/WebAuthnHarnessWithMunge.sol",
"../../contracts/SafeWebAuthnSignerSingleton.sol",
"../../contracts/SafeWebAuthnSignerProxy.sol"
],
"link": [
"SafeWebAuthnSignerFactoryHarness:SINGLETON=SafeWebAuthnSignerSingleton"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"assert_autofinder_success": true,
"dynamic_bound": "1",
"files": [
"certora/harnesses/SafeWebAuthnSignerFactoryHarness.sol",
"modules/passkey/contracts/SafeWebAuthnSignerSingleton.sol",
"certora/munged/SafeWebAuthnSignerProxy.sol",
"certora/munged/WebAuthn.sol",
"certora/harnesses/WebAuthnHarnessWithMunge.sol"
"../harnesses/SafeWebAuthnSignerFactoryHarness.sol",
"../../contracts/SafeWebAuthnSignerSingleton.sol",
"../munged/SafeWebAuthnSignerProxy.sol",
"../munged/WebAuthn.sol",
"../harnesses/WebAuthnHarnessWithMunge.sol"
],
"hashing_length_bound": "906",
"link": [
Expand Down
2 changes: 1 addition & 1 deletion modules/passkey/certora/confs/WebAuthn.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"assert_autofinder_success": true,
"files": [
"certora/harnesses/WebAuthnHarnessWithMunge.sol"
"../harnesses/WebAuthnHarnessWithMunge.sol"
],
"loop_iter": "6",
"optimistic_hashing": true,
Expand Down

0 comments on commit 7944e6c

Please sign in to comment.