Veritius / bevy_stardust

A flexible networking crate for Bevy.
Apache License 2.0
36 stars 0 forks source link

Flagging a NetworkPeer as 'secure' #14

Closed Veritius closed 4 months ago

Veritius commented 4 months ago

It could be good to be able to mark a NetworkPeer as being "secure", and messages sent to them can be trusted to be invulnerable to MITM attacks. Though, encryption and authentication are distinct, so maybe there should be different tiers of security.

Veritius commented 4 months ago

Something like this

enum PeerSecurity {
    Unprotected,
    Encrypted,
    Authenticated,
}