4 releases (breaking)
0.5.0 | Oct 14, 2023 |
---|---|
0.4.0 | Apr 2, 2022 |
0.3.0 | Mar 28, 2022 |
0.2.0 | Oct 8, 2020 |
0.1.0 |
|
#11 in #chacha20-poly1305
405KB
9K
SLoC
portal-client
This crate contains the client-side application for Portal - An encrypted file transfer utility.
- Negoticate a symmetric key with a peer using SPAKE2
- Encrypt files with Chacha20poly1305 using the RustCrypto implementation
- Send/receive files through a Portal relay
Note: The peer must connect to the same portal-relay as you. The default relay is portal-relay.landhb.dev
but can be changed in your config. On linux the config is most commonly located at ~/.config/portal/portal.toml
.
Installation
cargo install portal-client
Send a file
portal send /path/to/file
Recv a file
portal recv
Diagram of Key Derivation
Dependencies
~11–24MB
~267K SLoC