Crates.io | kync |
lib.rs | kync |
version | 0.2.0 |
source | src |
created_at | 2019-02-06 19:06:00.128594 |
updated_at | 2019-11-23 16:42:44.638223 |
description | KyNc – a generic API for key encapsulation and a Rust interface to KyNc-plugins |
homepage | |
repository | https://github.com/KizzyCode/kync |
max_upload_size | |
id | 113196 |
size | 32,572 |
This crate is a Rust interface to KyNc plugins.
Short: Protecting sensible data in a user defined/context sensitive way.
Long: KyNc defines a plugin API that allows your app to load context specific or user selected plugins to protect your app's secrets. If your app e.g. uses a login token or a database master key, it can be protected in a user controlled and context specific way. On macOS/iOS the keychain may be the way to go, on Linux some users may want to use GnuPG to protect the secret etc. Some people and companies may even implement their own custom plugins that specifically suit their needs.
The main advantage of a unified API like KyNc is that once you have a (custom) plugin you can load it into every app that wants to store secrets and implements KyNc.
This library and standard are alpha and neither audited nor frozen. Use at your own risk and feel free to contribute.
. Currently none – but I'm working on a GnuPG plugin to utilize my Yubikey 🙃
If you want to implement your own plugin, take a look at
the specification, the
kync_test_plugin
and the
contained kync.h
-file.