Skip to content

erskingardner/openmls_nostr_crypto

Repository files navigation

OpenMLS Nostr Crypto

These crates are Nostr-centric implementations of the traits required for the OpenMLS library.

These traits are implemented with the bare minimum of features and ciphersuites and use the Bitcoin/Nostr-standard secp256k1 crate instead of the default RustCrypto crate used by OpenMLS.

This library implements the following traits

Supported MLS Ciphersuites

Read more about the MLS ciphersuites in the spec here.

  • MLS_128_DHKEMX25519_AES128GCM_SHA256_Ed25519 (Required by MLS spec)
  • MLS_256_DHKEMK256_CHACHA20POLY1305_SHA256_K256 (Nostr specific)

The MLS_256_DHKEMK256_CHACHA20POLY1305_SHA256_K256 ciphersuite is a custom/private ciphersuite that isn't part of the official spec. This repo is a work in progress while adding the secp256k1 curve to various dependent libraries and the upstream OpenMLS library itself.

NIP-104

TODO

Contributing

TODO

About

An implementation of the OpenMLS traits for Nostr

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages