Skip to content

vektra/seconn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Se(cure) Conn(ection)

seconn is a simple golang library that provides an encrypted connection over a net.Conn.

It uses curve25519 to establish a shared key between the 2 parties and then uses AES encryption to pass the data back and forth.

How do a do any kind of authentication to prevent a MITM attack?

Check out the auth package. It uses the GetMessage/SendMessage API to perform a signed token exchange and verifies that the server side is using the agreed upon key.

About

A simple secure socket library for Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages