Thanks to visit codestin.com
Credit goes to lib.rs

8 releases (4 breaking)

0.5.2 Nov 13, 2025
0.5.1 Nov 8, 2025
0.5.0 Oct 3, 2025
0.4.0 Nov 17, 2024
0.1.0 Dec 3, 2023

#6 in #technology

BSD-3-Clause

455KB
9K SLoC

Gosling

Gosling is a crate which encapsulates connecting to and authenticating with onion-service peers on the Tor Network. The authentication mechanism is based on and improves upon the peer authentication handshake found in Ricochet-Refresh.

Peer-to-peer applications can be built using Gosling with the following features by default:

  • end-to-end encrypted
  • anonymous
  • authenticated
  • metadata-resistant
  • decentralised
  • nat-punching

Through the use of pluggable-transports, applications can also bypass censorship.

The protocol itself is customisable to allow for additional application-specific authorisation.

The problem of peer-discovery is not solved by this crate.

For more details see htps://gosling.technology.

Dependencies

~21–47MB
~701K SLoC