Skip to content

Commit 1277f45

Browse files
committed
fucking logs
Signed-off-by: John Andersen <[email protected]>
1 parent 574de45 commit 1277f45

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@ jobs:
3939
activate-environment: scitt
4040
environment-file: environment.yml
4141
- run: |
42-
env
43-
python -m pip install -I git+https://github.com/wbond/oscrypto.git
44-
env
42+
python -m pip install -e .
4543
python -m pytest
4644
4745
ci-cd-build-and-push-image-container:

scitt_emulator/verify_statement.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,13 @@
1212
import pycose.keys.ec2
1313
from pycose.messages import Sign1Message
1414

15+
from scitt_emulator.did_helpers import did_web_to_url
1516
from scitt_emulator.create_statement import CWTClaims
1617

1718

1819
ENTRYPOINT_KEY_LOADERS = "scitt_emulator.verify_signature.key_loaders"
1920

2021

21-
def did_web_to_url(
22-
did_web_string, scheme=os.environ.get("DID_WEB_ASSUME_SCHEME", "https")
23-
):
24-
return "/".join(
25-
[
26-
f"{scheme}:/",
27-
*[urllib.parse.unquote(i) for i in did_web_string.split(":")[2:]],
28-
]
29-
)
30-
31-
3222
def verify_statement(
3323
msg: Sign1Message,
3424
*,

0 commit comments

Comments
 (0)