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

Two command line changes: #871

Merged
merged 1 commit into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 5 additions & 0 deletions src/keri/app/cli/commands/oobi/resolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ def waitDo(self, tymth, tock=0.0):
yield 0.25

obr = self.obi.hby.db.roobi.get(keys=(self.oobi,))
if self.force:
while obr.cid not in self.hby.kevers:
self.hby.kvy.processEscrows()
yield 0.25

print(self.oobi, obr.state)

self.remove([self.hbyDoer, *self.obi.doers, *self.authn.doers])
4 changes: 3 additions & 1 deletion src/keri/app/cli/commands/witness/authenticate.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
from keri.app import httping, connecting
from keri.app.agenting import httpClient
from keri.app.cli.common import existing
from keri.app.httping import CESR_DESTINATION_HEADER
from keri.core import coring

logger = help.ogler.getLogger()
Expand Down Expand Up @@ -107,7 +108,8 @@ def authDo(self, tymth, tock=0.0):
fargs['delkel'] = delkel.decode("utf-8")

headers = (Hict([
("Content-Type", "multipart/form-data")
("Content-Type", "multipart/form-data"),
(CESR_DESTINATION_HEADER, self.witness)
]))

client, clientDoer = httpClient(self.hab, self.witness)
Expand Down
2 changes: 1 addition & 1 deletion src/keri/end/ending.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def siginput(name, method, path, headers, fields, hab=None, signers=None, expire
expires (str): iso8601 formated date string indicating exiration of header signature
signers (list): Optional signer objects used to sign the values
hab (Hab): Optional Hab used to sign the values. One of signers or Hab is required
fields (str): Fields in request to sign. Includes special fields as well as Header fields
fields (list): Fields in request to sign. Includes special fields as well as Header fields
headers (dict): HTTP request headers
path (str): HTTP request path
method (str): HTTP request method (POST, GET, PUT, etc)
Expand Down
Loading