Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

peer did 2/3 resolution #2472

Merged
Merged
Changes from 1 commit
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
2f5cb46
supress askar logging by default
Jsyro Sep 5, 2023
0eeb254
import peer did, simple test and resolver classes
Jsyro Sep 5, 2023
36b0681
did service check
Jsyro Sep 5, 2023
57395db
separate peer did 2 and 3 into separate files
Jsyro Sep 6, 2023
c4dd42f
Merge branch 'main' into feature/peer-did-resolution
Jsyro Sep 6, 2023
b18457f
remove and add peerdid to rebuild lock file
Jsyro Sep 6, 2023
a824f04
Merge branch 'main' into feature/peer-did-resolution
Jsyro Sep 6, 2023
ca866f7
black formatter
Jsyro Sep 6, 2023
2f1ca5e
Merge remote-tracking branch 'Jsyro/feature/peer-did-resolution' into…
Jsyro Sep 6, 2023
fdf14ba
formatting
Jsyro Sep 6, 2023
990ca08
pytest enforces linting??
Jsyro Sep 6, 2023
dbccf5a
linting
Jsyro Sep 6, 2023
580ef8b
found black command
Jsyro Sep 6, 2023
c737152
lines to long
Jsyro Sep 6, 2023
7f9a826
resolver pulls directly from storage
Jsyro Sep 6, 2023
0494462
more dp3 laoding to dp3 resolver
Jsyro Sep 6, 2023
1404fcc
pytest linting.. but there is also black linting?
Jsyro Sep 6, 2023
76b9a41
black formatting
Jsyro Sep 6, 2023
3c2b499
Merge branch 'main' into feature/peer-did-resolution
Jsyro Sep 6, 2023
5f202a4
spelling police
Jsyro Sep 6, 2023
ff18579
Merge remote-tracking branch 'Jsyro/feature/peer-did-resolution' into…
Jsyro Sep 6, 2023
557df3e
after resolving did:peer:2. alwasys save it's did:peer:3
Jsyro Sep 6, 2023
70809c4
Merge branch 'main' into feature/peer-did-resolution
Jsyro Sep 6, 2023
1a0dc62
black formatting
Jsyro Sep 6, 2023
f6d5d07
Merge remote-tracking branch 'Jsyro/feature/peer-did-resolution' into…
Jsyro Sep 6, 2023
b888c4a
black formatting
Jsyro Sep 6, 2023
bb9244b
issue with circular import
Jsyro Sep 6, 2023
3bcd14f
black formatting
Jsyro Sep 6, 2023
c46a668
docstring
Jsyro Sep 6, 2023
a2be744
remove unused import
Jsyro Sep 6, 2023
a260f19
period
Jsyro Sep 6, 2023
d779b8a
convert to string to do a string replace.....
Jsyro Sep 7, 2023
07a54c0
pr feedback
Jsyro Sep 7, 2023
8248ec0
readability
Jsyro Sep 7, 2023
61e0dd5
remove unused, move a constant
Jsyro Sep 7, 2023
e51d803
return value needs to captured
Jsyro Sep 7, 2023
b50c2bd
formatting
Jsyro Sep 7, 2023
7ee1370
revert return type
Jsyro Sep 7, 2023
46857b8
remove unused
Jsyro Sep 7, 2023
2335732
Merge branch 'main' into feature/peer-did-resolution
Jsyro Sep 7, 2023
e2cb29e
formatting
Jsyro Sep 7, 2023
48836d7
Merge remote-tracking branch 'Jsyro/feature/peer-did-resolution' into…
Jsyro Sep 7, 2023
4518dc5
linting
Jsyro Sep 7, 2023
3b6b382
Merge branch 'main' into feature/peer-did-resolution
Jsyro Sep 7, 2023
bf23cbf
simplify methods because did and did_doc are linked
Jsyro Sep 7, 2023
3ab76ef
asda
Jsyro Sep 7, 2023
8a1178e
puncutation
Jsyro Sep 7, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docstring
Signed-off-by: Jason Syrotuck <[email protected]>
  • Loading branch information
Jsyro committed Sep 6, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit c46a6683601270eefec6727d18fa260eebfeae0b
1 change: 1 addition & 0 deletions aries_cloudagent/resolver/default/peer3.py
Original file line number Diff line number Diff line change
@@ -69,6 +69,7 @@ async def _resolve(
async def create_and_store_document(
self, profile: Profile, peer_did_2_doc: DIDDocument
):
"""Injest did:peer:2 document create did:peer:3 and store document"""
if not peer_did_2_doc.id.startswith("did:peer:2"):
raise MalformedPeerDIDError("did:peer:2 expected")