-
Notifications
You must be signed in to change notification settings - Fork 516
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
Feature multikey management #3246
Feature multikey management #3246
Conversation
Signed-off-by: Patrick <[email protected]>
Signed-off-by: Patrick <[email protected]>
Signed-off-by: PatStLouis <[email protected]>
Signed-off-by: PatStLouis <[email protected]>
…s-cloudagent-python into feature-multikey-management
Signed-off-by: PatStLouis <[email protected]>
@jamshale I'm having issues with the linting tests. I have ruff version 0.6.5 and even if I apply formatting it's still causing errors without much details. Do you have a clue what I'm doing wrong here? |
I think it's working correctly. Sometimes the formatter won't be able to automatically fix things. The line too long is annoying sometimes. I'm fine with just adding Usually I just run |
Signed-off-by: PatStLouis <[email protected]>
now it's asking me to use version ruff==
|
Signed-off-by: PatStLouis <[email protected]>
ok I think I sorted it out this time! |
Signed-off-by: PatStLouis <[email protected]>
Signed-off-by: PatStLouis <[email protected]>
Signed-off-by: PatStLouis <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I'm going to let Daniel have a look before approving.
Signed-off-by: PatStLouis <[email protected]>
Signed-off-by: PatStLouis <[email protected]>
Signed-off-by: PatStLouis <[email protected]>
Signed-off-by: PatStLouis <[email protected]>
Signed-off-by: PatStLouis <[email protected]>
Upon further testing I noticed that for it to be compatible with the askar wallet there was some slight changes required. I've implemented those. One issue is Askar is unable for find the key given a |
Signed-off-by: PatStLouis <[email protected]>
Signed-off-by: PatStLouis <[email protected]>
Signed-off-by: PatStLouis <[email protected]>
Signed-off-by: PatStLouis <[email protected]>
ok I got it to work as I intended |
Signed-off-by: PatStLouis <[email protected]>
Done. One thing I was wondering was if we can or should do a scenario integration test for this? They are a lot quicker and easier to write than before. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some recommended changes
Signed-off-by: PatStLouis <[email protected]>
…s-cloudagent-python into feature-multikey-management
Signed-off-by: PatStLouis <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, one more type issue to report that I spotted while reviewing your new changes.
Signed-off-by: PatStLouis <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one comment and I'll approve.
Signed-off-by: PatStLouis <[email protected]>
Quality Gate failedFailed conditions |
* load key plugin Signed-off-by: Patrick <[email protected]> * simplify functions Signed-off-by: Patrick <[email protected]> * added option kid field to KeyInfo Signed-off-by: PatStLouis <[email protected]> * improving linting and unit tests Signed-off-by: PatStLouis <[email protected]> * add empty kid value for bbs tests Signed-off-by: PatStLouis <[email protected]> * linting fix Signed-off-by: PatStLouis <[email protected]> * more linting Signed-off-by: PatStLouis <[email protected]> * add 2 more tests Signed-off-by: PatStLouis <[email protected]> * linting Signed-off-by: PatStLouis <[email protected]> * await function in tests Signed-off-by: PatStLouis <[email protected]> * askar support Signed-off-by: PatStLouis <[email protected]> * implement askar Signed-off-by: PatStLouis <[email protected]> * spelling mistake Signed-off-by: PatStLouis <[email protected]> * use a constant for default algorithm Signed-off-by: PatStLouis <[email protected]> * linting Signed-off-by: PatStLouis <[email protected]> * remove unused code Signed-off-by: PatStLouis <[email protected]> * formatting Signed-off-by: PatStLouis <[email protected]> * linting Signed-off-by: PatStLouis <[email protected]> * fix key by kid Signed-off-by: PatStLouis <[email protected]> * fix unit tests Signed-off-by: PatStLouis <[email protected]> * add type hints and pass session to call functions instead of profile Signed-off-by: PatStLouis <[email protected]> * remove manager from test function instanciation Signed-off-by: PatStLouis <[email protected]> * replace inject_or with inject for providing wallet interface Signed-off-by: PatStLouis <[email protected]> * move wallet injection to class initialization step Signed-off-by: PatStLouis <[email protected]> --------- Signed-off-by: Patrick <[email protected]> Signed-off-by: PatStLouis <[email protected]>
Supersedes #3168.
During the last aca-py call, it was discuss that it would be preferable to create keys instead of dids for associating a verification method.
This PR adds 3 routes to the wallet and adds an optional
kid
property to the KeyInfo class.Deleting a key should be looked at in a separate PR as this feature isn't currently supported by aca-py and could have other ramifications to be taken into account.
@dbluhm @jamshale