Secure Frame (SFrame)
This library is an implementation of draft-ietf-sframe-enc-04 and provides and end-to-end encryption mechanism for media frames that is suited for WebRTC conferences. It is in it's current form a subset of the specification. It was forked from the original goto-opensource/secure-frame-rs and is continued here.
Differences from the sframe draft
- ratcheting is not implemented
- no metadata authentication
Supported crypto libraries
Currently two crypto libraries are supported:
- ring
- is enabled per default with the feature
ring - supports compilation to Wasm32
- Aes-CTR mode ciphers are not supported
- is enabled per default with the feature
- openssl
- is enabled with the feature
openssl- To build e.g. use
cargo build --features openssl --no-default-features
- To build e.g. use
- uses rust bindings to OpenSSL.
- Per default the OpenSSL library is locally compiled and then statically linked. The build process requires a C compiler,
perl(andperl-core), andmake. For further options see the openssl crate documentation. - Compilation to Wasm32 is not yet supported
- is enabled with the feature
Both cannot be enabled at the same time, thus on conflict sframe issues a compiler error.
Contribution
Any help in form of descriptive and friendly issues or comprehensive pull requests are welcome!
The Changelog of this library is generated from its commit log, there any commit message must conform with https://www.conventionalcommits.org/en/v1.0.0/. For simplicity you could make your commits with convco.