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

Release 0.8.9 #84

Merged
merged 33 commits into from
Jan 16, 2025
Merged

Release 0.8.9 #84

merged 33 commits into from
Jan 16, 2025

Conversation

stormer78
Copy link
Contributor

All (0.8.9)

  • Added Global-ACL Support

Mediator (0.8.9)

  • Added Global ACL Support
  • Added default_acl to security block in configuration
    • Allows to set the default ACL to apply
  • New error type ACLDenied added
  • Local Direct Delivery added
    • Allows for known recipient DIDs to receive messages directly sent to the
      mediator without wrapping them in a forward envelope

SDK (0.8.9)

  • Authentication will now fail due to ACL Errors and not retry.
  • Deleting Messages has been split between direct and background
    • Direct: immediate deletion and the main thread will block
    • Background: requests are handled via a background task

Affinidi Text Client (0.8.9)

  • Updated ratatui-image from 3.x to 4.x

Affinidi DIDComm (0.8.9)

  • MetaEnvelope::new() no longer checks for recipient keys.
    • This has been shifted to the unpack() function
    • This allows for easier handling of any DIDComm message even if the recipient is not known by it's secrets

- cleaning up code warnings
- requires some code changes
- Configuration support
- Definitions of acls
- Getting ACL Configuration
Changed SDK authentication behavior to hard fail
on ACL Denied
- use either session or database lookup
- optimisation
NOTE: Specific protocol ACL's not implemented yet
- forwarding
- self administration
- configuration
- refactoring of namespaces
- configuration setup
- structure
- refactoring of namespace
- now occurs during authentication stage
- only if they are allowed to be local as configured by global_acls

Changed database commands where possible to be exec not query
- updated axum from 0.7.x to 0.8.x
  - required a number of breaking changes
- you can send diretcly locally, no need to wrap in a forward

Look at the mediator.toml config file for instructions
DANGER: Enabling direct mode means there is some risk of bad
messages making their way to the client. The client needs to ensure safety
of the unpacked messages.
Updated Changelog
Changed named of anon_outbound in config to anon_received to be clearer on intent
- removed the concept of global/local acls
- much simpler and easier to understand ACL model
- formatting improvements on the mediator management listings
- fixed authentication ACL rules
- DID accounts are now created in the mediator correctly with defaults
- on session creation, check if DID known, if not then create if allowed
Added background message deletion
Added option to SDK so you can auto-delete
@stormer78 stormer78 merged commit 32ed3f8 into main Jan 16, 2025
9 of 10 checks passed
@stormer78 stormer78 deleted the feat/admin_updates branch January 16, 2025 06:27
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.

1 participant