Skip to content

bitbeans/lageant

Repository files navigation

#lageant

###Libsodium Authentication Agent

There will be bugs. May change. May break.

beta 0.2.3

Scope

  • Generate libsodium keys by input (bytejail, CurveLock, miniLock)
  • Load minisign private keys (minisign-net)
  • Generate random keys
  • Copy keys to clipboard
  • Import generated keys (.lkey extension)
  • Export generated keys (.lkey extension)

Client Examples

//create a new client
var client = new LageantClient();
//connect to memory
if (!client.Connect()) return;
//fetch a stored key (hex string)
var key = client.Keystore.GetKeyById("4022a87de0ff0724");

//Overloads
var key = client.Keystore.GetKeyById("a hex string or byte array");
var key = client.Keystore.GetKeyByPublicKey("a hex string or byte array");
var key = client.Keystore.GetKeyByPrivateKey("a hex string or byte array");

//Get the whole Keystore (List<Key>)
var keyStore = client.Keystore;

Client Package Installation

There is a NuGet package available.

There is also: SimpleCrypt

A small example application which uses lageant and StreamCryptor.

beta 0.2.3

License

MIT