File tree Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Original file line number Diff line number Diff line change 39
39
activate-environment : scitt
40
40
environment-file : environment.yml
41
41
- run : |
42
- env
43
- python -m pip install -I git+https://github.com/wbond/oscrypto.git
44
- env
42
+ python -m pip install -e .
45
43
python -m pytest
46
44
47
45
ci-cd-build-and-push-image-container :
Original file line number Diff line number Diff line change 12
12
import pycose .keys .ec2
13
13
from pycose .messages import Sign1Message
14
14
15
+ from scitt_emulator .did_helpers import did_web_to_url
15
16
from scitt_emulator .create_statement import CWTClaims
16
17
17
18
18
19
ENTRYPOINT_KEY_LOADERS = "scitt_emulator.verify_signature.key_loaders"
19
20
20
21
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
-
32
22
def verify_statement (
33
23
msg : Sign1Message ,
34
24
* ,
You can’t perform that action at this time.
0 commit comments