4 releases (1 stable)

1.0.0 Sep 25, 2019
0.11.0 Jun 1, 2019
0.10.0 Apr 16, 2019
0.9.0 Apr 14, 2019

#2086 in Parser implementations

MIT/Apache

295KB
945 lines

authorized_keys-rs

Parse and manipulate OpenSSH authorized_keys files.

Windows Build Status Build Status Crates.io

Contributing | Code of Conduct | Changelog | Examples

Installation

Cargo.toml:

[dependencies]
authorized_keys = "1.0"

Features

  • Parse authorized_keys files
  • Parse individual lines from authorized_keys files
  • Change the parts of a line (options, key type, encoded key, comments) with convenience methods
  • Write authorized_keys files in the correct format
  • One dependency by default (nom)
    • Depends on data-encoding if you want to edit key data as bytes using convenience methods

Authors

License

authorized_keys is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for details.

Dependencies

~1MB
~15K SLoC