#ecdsa #rsa #pcsc #yubikey #piv

bin+lib yubikey-cli

Command-line interface for performing encryption and signing using RSA/ECC keys stored on YubiKey devices

6 releases (breaking)

0.5.0 Nov 21, 2021
0.4.0 Jul 12, 2021
0.3.0 Mar 22, 2021
0.2.0 Jan 30, 2021
0.0.1 Dec 2, 2019

#492 in Cryptography

BSD-2-Clause

215KB
4K SLoC

yubikey-cli.rs

crate Docs Apache2/MIT licensed Rust Version Maintenance Status: Experimental Safety Dance Build Status Gitter Chat

Pure Rust host-side YubiKey Personal Identity Verification (PIV) CLI utility with general-purpose public-key encryption and signing support.

Documentation

Minimum Supported Rust Version

Rust 1.51 or newer.

Supported YubiKeys

NOTE: Nano and USB-C variants of the above are also supported. Pre-YK4 YubiKey NEO series is NOT supported (see [#18]).

Security Warning

No security audits of this crate have ever been performed. Presently it is in an experimental stage and may still contain high-severity issues.

USE AT YOUR OWN RISK!

Status

WIP. Check back later.

Code of Conduct

We abide by the Contributor Covenant and ask that you do as well.

For more information, please see CODE_OF_CONDUCT.md.

License

Copyright (c) 2014-2021 Yubico AB, Tony Arcieri All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be licensed under the 2-Clause BSD License as shown above, without any additional terms or conditions.

Dependencies

~11MB
~229K SLoC