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 5821323
Show file tree
Hide file tree
Showing 23 changed files with 43 additions and 43 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"files": [
"certora/munged/SafeWebAuthnSignerSingleton.sol",
"certora/harnesses/GetConfigurationProxyHarness.sol",
"modules/passkey/contracts/SafeWebAuthnSignerFactory.sol"
"contracts/SafeWebAuthnSignerFactory.sol"
],
"link": [
"GetConfigurationProxyHarness:_SINGLETON=SafeWebAuthnSignerSingleton"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"assert_autofinder_success": true,
"files": [
"certora/harnesses/GetSignerHarness.sol",
"modules/passkey/contracts/SafeWebAuthnSignerSingleton.sol",
"modules/passkey/contracts/SafeWebAuthnSignerProxy.sol"
"contracts/SafeWebAuthnSignerSingleton.sol",
"contracts/SafeWebAuthnSignerProxy.sol"
],
"hashing_length_bound": "4694",
"link": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"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",
"contracts/SafeWebAuthnSignerProxy.sol",
"contracts/SafeWebAuthnSignerSingleton.sol",
"contracts/libraries/P256.sol",
"certora/harnesses/WebAuthnHarnessWithMunge.sol"
],
"hashing_length_bound": "2048",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"files": [
"certora/harnesses/FactoryHarnessForSignerConsistency.sol",
"certora/harnesses/WebAuthnHarnessWithMunge.sol",
"modules/passkey/contracts/SafeWebAuthnSignerSingleton.sol",
"modules/passkey/contracts/SafeWebAuthnSignerProxy.sol"
"contracts/SafeWebAuthnSignerSingleton.sol",
"contracts/SafeWebAuthnSignerProxy.sol"
],
"link": [
"FactoryHarnessForSignerConsistency:SINGLETON=SafeWebAuthnSignerSingleton"
Expand Down
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,9 +1,9 @@
{
"assert_autofinder_success": true,
"files": [
"modules/passkey/contracts/SafeWebAuthnSignerFactory.sol",
"modules/passkey/contracts/SafeWebAuthnSignerSingleton.sol",
"modules/passkey/contracts/libraries/P256.sol",
"contracts/SafeWebAuthnSignerFactory.sol",
"contracts/SafeWebAuthnSignerSingleton.sol",
"contracts/libraries/P256.sol",
"certora/harnesses/WebAuthnHarnessWithMunge.sol"
],
"link": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
],
"files": [
"certora/harnesses/SafeWebAuthnSignerFactoryHarness.sol",
"modules/passkey/contracts/SafeWebAuthnSignerSingleton.sol",
"modules/passkey/contracts/SafeWebAuthnSignerProxy.sol",
"modules/passkey/contracts/libraries/P256.sol",
"contracts/SafeWebAuthnSignerSingleton.sol",
"contracts/SafeWebAuthnSignerProxy.sol",
"contracts/libraries/P256.sol",
"certora/harnesses/WebAuthnHarnessWithMunge.sol"
],
"hashing_length_bound": "912",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"assert_autofinder_success": true,
"files": [
"modules/passkey/contracts/SafeWebAuthnSignerFactory.sol",
"modules/passkey/contracts/SafeWebAuthnSignerSingleton.sol",
"modules/passkey/contracts/libraries/P256.sol",
"contracts/SafeWebAuthnSignerFactory.sol",
"contracts/SafeWebAuthnSignerSingleton.sol",
"contracts/libraries/P256.sol",
"certora/harnesses/WebAuthnHarnessWithMunge.sol"
],
"loop_iter": "6",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"files": [
"certora/harnesses/SafeWebAuthnSignerFactoryHarness.sol",
"certora/harnesses/WebAuthnHarnessWithMunge.sol",
"modules/passkey/contracts/SafeWebAuthnSignerSingleton.sol",
"modules/passkey/contracts/SafeWebAuthnSignerProxy.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 @@ -3,7 +3,7 @@
"dynamic_bound": "1",
"files": [
"certora/harnesses/SafeWebAuthnSignerFactoryHarness.sol",
"modules/passkey/contracts/SafeWebAuthnSignerSingleton.sol",
"contracts/SafeWebAuthnSignerSingleton.sol",
"certora/munged/SafeWebAuthnSignerProxy.sol",
"certora/munged/WebAuthn.sol",
"certora/harnesses/WebAuthnHarnessWithMunge.sol"
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
pragma solidity >=0.8.0;

import {SafeWebAuthnSignerFactory} from "../munged/FactoryForSignerConsistency.sol";
import {P256} from "../../modules/passkey/contracts/libraries/P256.sol";
import {SafeWebAuthnSignerProxy} from "../../modules/passkey/contracts/SafeWebAuthnSignerProxy.sol";
import {P256} from "../../contracts/libraries/P256.sol";
import {SafeWebAuthnSignerProxy} from "../../contracts/SafeWebAuthnSignerProxy.sol";

contract FactoryHarnessForSignerConsistency is SafeWebAuthnSignerFactory {
//Harness
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/* solhint-disable no-complex-fallback */
pragma solidity >=0.8.0;

import {P256} from "modules/passkey/contracts/libraries/WebAuthn.sol";
import {P256} from "../../contracts/libraries/WebAuthn.sol";

/**
* @title Safe WebAuthn Signer Proxy
Expand Down
4 changes: 2 additions & 2 deletions modules/passkey/certora/harnesses/GetSignerHarness.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
pragma solidity >=0.8.0;

import {SafeWebAuthnSignerFactory} from "../munged/SafeWebAuthnSignerFactory.sol";
import {P256} from "../../modules/passkey/contracts/libraries/P256.sol";
import {SafeWebAuthnSignerProxy} from "../../modules/passkey/contracts/SafeWebAuthnSignerProxy.sol";
import {P256} from "../../contracts/libraries/P256.sol";
import {SafeWebAuthnSignerProxy} from "../../contracts/SafeWebAuthnSignerProxy.sol";

contract GetSignerHarness is SafeWebAuthnSignerFactory {
function getSignerHarnessed(uint256 x, uint256 y, P256.Verifiers verifiers) public view returns (uint256 value) {
Expand Down
2 changes: 1 addition & 1 deletion modules/passkey/certora/harnesses/ProxySimulator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/* solhint-disable no-complex-fallback */
pragma solidity >=0.8.0;

import {SafeWebAuthnSignerProxy} from "../../modules/passkey/contracts/SafeWebAuthnSignerProxy.sol";
import {SafeWebAuthnSignerProxy} from "../../contracts/SafeWebAuthnSignerProxy.sol";

contract ProxySimulator {
address internal _proxy;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
pragma solidity >=0.8.0;

import {SafeWebAuthnSignerFactory} from "../munged/SafeWebAuthnSignerFactory.sol";
import {P256} from "../../modules/passkey/contracts/libraries/P256.sol";
import {SafeWebAuthnSignerProxy} from "../../modules/passkey/contracts/SafeWebAuthnSignerProxy.sol";
import {P256} from "../../contracts/libraries/P256.sol";
import {SafeWebAuthnSignerProxy} from "../../contracts/SafeWebAuthnSignerProxy.sol";

contract SafeWebAuthnSignerFactoryHarness is SafeWebAuthnSignerFactory {
//Harness
Expand Down
2 changes: 1 addition & 1 deletion modules/passkey/certora/harnesses/Utilities.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {P256} from "../../modules/passkey/contracts/libraries/WebAuthn.sol";
import {P256} from "../../contracts/libraries/WebAuthn.sol";

interface IConfigHolder {
function getConfiguration() external pure returns (uint256 x, uint256 y, P256.Verifiers verifiers);
Expand Down
2 changes: 1 addition & 1 deletion modules/passkey/certora/harnesses/WebAuthnHarness.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: LGPL-3.0-only
pragma solidity ^0.8.0;

import {P256, WebAuthn} from "../../modules/passkey/contracts/libraries/WebAuthn.sol";
import {P256, WebAuthn} from "../../contracts/libraries/WebAuthn.sol";

contract WebAuthnHarness {
mapping(bytes32 => mapping(bytes32 => string)) symbolicClientDataJson;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// SPDX-License-Identifier: LGPL-3.0-only
pragma solidity >=0.8.0;

import {ISafeSignerFactory} from "../../modules/passkey/contracts/interfaces/ISafeSignerFactory.sol";
import {SafeWebAuthnSignerProxy} from "../../modules/passkey/contracts/SafeWebAuthnSignerProxy.sol";
import {SafeWebAuthnSignerSingleton} from "../../modules/passkey/contracts/SafeWebAuthnSignerSingleton.sol";
import {P256} from "../../modules/passkey/contracts/libraries/P256.sol";
import {ISafeSignerFactory} from "../../contracts/interfaces/ISafeSignerFactory.sol";
import {SafeWebAuthnSignerProxy} from "../../contracts/SafeWebAuthnSignerProxy.sol";
import {SafeWebAuthnSignerSingleton} from "../../contracts/SafeWebAuthnSignerSingleton.sol";
import {P256} from "../../contracts/libraries/P256.sol";

/**
* @title Safe WebAuthn Signer Factory
Expand Down
4 changes: 2 additions & 2 deletions modules/passkey/certora/munged/SafeWebAuthnSignerFactory.sol
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// SPDX-License-Identifier: LGPL-3.0-only
pragma solidity >=0.8.0;

import {ISafeSignerFactory} from "../../modules/passkey/contracts/interfaces/ISafeSignerFactory.sol";
import {ISafeSignerFactory} from "../../contracts/interfaces/ISafeSignerFactory.sol";
import {SafeWebAuthnSignerProxy} from "./SafeWebAuthnSignerProxy.sol";
import {SafeWebAuthnSignerSingleton} from "./SafeWebAuthnSignerSingleton.sol";
import {P256} from "../../modules/passkey/contracts/libraries/P256.sol";
import {P256} from "../../contracts/libraries/P256.sol";

/**
* @title Safe WebAuthn Signer Factory
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: LGPL-3.0-only
pragma solidity >=0.8.0;

import {SignatureValidator} from "../../modules/passkey/contracts/base/SignatureValidator.sol";
import {P256, WebAuthn} from "../../modules/passkey/contracts/libraries/WebAuthn.sol";
import {SignatureValidator} from "../../contracts/base/SignatureValidator.sol";
import {P256, WebAuthn} from "../../contracts/libraries/WebAuthn.sol";

/**
* @title Safe WebAuthn Signer Singleton
Expand Down
2 changes: 1 addition & 1 deletion modules/passkey/certora/munged/WebAuthn.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: LGPL-3.0-only
pragma solidity ^0.8.0;

import {P256} from "../../modules/passkey/contracts/libraries/P256.sol";
import {P256} from "../../contracts/libraries/P256.sol";

/**
* @title WebAuthn Signature Verification
Expand Down
2 changes: 1 addition & 1 deletion modules/passkey/certora/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
certora-cli==7.10.1
certora-cli==7.14.2

0 comments on commit 5821323

Please sign in to comment.