Skip to content

Add ed25519 signing #1576

@Reasonable-Solutions

Description

@Reasonable-Solutions

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Use Cases

use case:
When ingesting or transforming security related events it is often good and cool to have
chain of custody and tamper evidence. This is also neat to have when discussing compliance and audit trails.
This can be achieved by signing the data at each step or service

Attempted Solutions

No response

Proposal

I'm thinking something like

.signature = ed25519_sign!(.data, key: "/path/to/private.key") 

and with the implementation being basically wrapping dalek primitives

fn ed25519_sign(data: Value, key_path) -> Result<Value> {
.. steps  
  Ok(base64::encode(signature.to_bytes()).into())
}

References

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: featureA value-adding code addition that introduce new functionality.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions