Skip to content

Add kli import command for importing dot CESR file, add gateway role#921

Merged
pfeairheller merged 4 commits intoWebOfTrust:mainfrom
pfeairheller:feat-kli-imp
Jan 8, 2025
Merged

Add kli import command for importing dot CESR file, add gateway role#921
pfeairheller merged 4 commits intoWebOfTrust:mainfrom
pfeairheller:feat-kli-imp

Conversation

@pfeairheller
Copy link
Member

This PR includes:

  • Import command that is the sister of the kli export command for importing a KEL into a local database
  • A new gateway role for end role authorizations
  • Fix ESSR test to encrypt sender correctly.

@pfeairheller pfeairheller merged commit b932c8d into WebOfTrust:main Jan 8, 2025
6 checks passed
@pfeairheller pfeairheller deleted the feat-kli-imp branch January 8, 2025 14:32
Copy link
Contributor

@lenkan lenkan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just noted some typos in the import command handler.

parser.add_argument("--file", help="File of streamed CESR events to import", required=True)


def export(args):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be 'import'


"""

ed = ImportDoer(name=args.name,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should probably be id or importDoer ?


super(ImportDoer, self).__init__(doers=doers)

def exportDo(self, tymth, tock=0.0):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be importDo



def export(args):
""" Command line list credential registries handler
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docstring is probably from some other functionality?

Tymist instance. Calling tymth() returns associated Tymist .tyme.
tock (float): injected initial tock value

Returns: doifiable Doist compatible generator method
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It returns True

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments