v0.19 ensembles #1459
No reviewers
Labels
No labels
UX
active development
backlog
blocker
bootstrap
bounty
bug
dependencies
discussion
documentation
duplicate
enhancement
flaky test
help wanted
invalid
javascript
question
release
tendentious
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mighty-gerbils/gerbil!1459
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "v0.19-ensemble"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -0,0 +4,4 @@(import ./ucan)(export #t)(defstruct ActorShould that be ActorID ?
Or else, what do you call an actual actor?
renamed to Handle
@ -0,0 +16,4 @@(auth : :list) ; UCAN authorization tokens for the message(method : :string) ; the method invoked by the message(body : :u8vector) ; the message body(epxire : :integer) ; expiration of the message in UNIX secondsexpire ?
@ -0,0 +28,4 @@(group : :string) ; destination group(method : :string) ; the method invoked by the message(body : :u8vector) ; the message body(epxire : :integer) ; expiration of the message in UNIX secondsexpire ?
Maybe common class BaseMessage between Message and BroadcastMessage ?
done
@ -0,0 +11,4 @@;; context for security operations(interface (SecurityContext Closer);; the actor to which this security context pertains(actor)owner?
renamed to handle
@ -0,0 +62,4 @@;; actor message handling(interface (ActorHandler Closer);; reveive a messagereceive
fixed
@ -0,0 +37,4 @@(expire token.expire :- :integer))=> VerificationResult(if (fx= next.type DELEGATE)(if (or (equal? next.audience issuer)Can you refactor so the error results are right next to the error case?
invert the tests? ok.
done
@ -0,0 +47,4 @@=> :void(TODO save-capability-context!))(def public-key-cache-ttl 120)Is that an absolute constant? Based on what standard/document? If not, I don't like arbitrary numbers sprinkled around the code without even a distinctive syntactical marker (like the
defconstantof Common Lisp, the*earmuffs*of special variables (more akin to Scheme parameters), the+pluses+around constants).meant it to be 1200.
i dont think we need to earmuff this, it is fine as it is. I hate the pluses.
@ -0,0 +37,4 @@((fx= code DID-KEY-ED25519)(bytes->ed25519-public-key bytes))(else(raise-contract-violation did->public-key "unknwon key type" code))))unknown
You need M-x ispell or something
@ -0,0 +13,4 @@(path :- :string) ; path where the context is stored(key :- :u8vector) ; encryption key for private key material;; data tables(private-keys :- HashTable) ; did string -> PrivKeycomments needed. What keys are those? Those you control, I presume.
What roots? of what? Capability domains you control? You know about?
What are the input and output anchors? A brief description, please.
ok. I think i will do an implementation backed by an sqlite db, this is transient.
added comments for now
@ -0,0 +20,4 @@(root-output-anchors :- HashTable) ; token set(subject-input-anchors :- HashTable) ; did string -> token set(subject-output-anchors :- HashTable) ; did string -> token set(tokens :- HashTable) ; token setexplain that the values are the expiries.
e8d93c072atof94ee596742f3a8d0bedtoedcf514accView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.