Skip to content

Context-Based Security #58

Description

@npmccallum

There are a number of functions which take no context as input. I think I have caught all of them:

  • options_open
  • secrets_manager_open
  • keypair_generate
  • keypair_import
  • publickey_import
  • secretkey_import
  • signature_import
  • symmetric_key_generate
  • symmetric_key_import
  • symmetric_state_open

These functions do not align with the general strategy of context-based security as used in other WASI specifications. All WASI functions should have some context object (i.e. handle) which is either provided by the runtime or derived from a handle provided by the runtime.

One suggestion for this handle might be a policy handle which allows the runtime to define which algorithms are permitted.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions