https://github.com/bitbeans/lageant
Libsodium Authentication Agent
https://github.com/bitbeans/lageant
Last synced: 11 months ago
JSON representation
Libsodium Authentication Agent
- Host: GitHub
- URL: https://github.com/bitbeans/lageant
- Owner: bitbeans
- License: mit
- Created: 2015-08-30T17:48:19.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-31T17:46:25.000Z (over 10 years ago)
- Last Synced: 2025-03-30T01:23:42.929Z (12 months ago)
- Language: C#
- Size: 1.32 MB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
#lageant
###Libsodium Authentication Agent
**There will be bugs. May change. May break.**

### Scope
- Generate libsodium keys by input ([bytejail](https://bytejail.com), [CurveLock](https://github.com/adamcaudill/CurveLock), [miniLock](https://github.com/kaepora/miniLock))
- Load [minisign](https://github.com/jedisct1/minisign) private keys ([minisign-net](https://github.com/bitbeans/minisign-net))
- Generate random keys
- Copy keys to clipboard
- Import generated keys (.lkey extension)
- Export generated keys (.lkey extension)
### Client Examples
```csharp
//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)
var keyStore = client.Keystore;
```
#### Client Package Installation
There is a [NuGet package](https://www.nuget.org/packages/lageant-client/) available.
#### There is also: SimpleCrypt
A small example application which uses lageant and [StreamCryptor](https://github.com/bitbeans/StreamCryptor).

## License
[MIT](https://en.wikipedia.org/wiki/MIT_License)