Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.47 KB

README.md

File metadata and controls

46 lines (32 loc) · 1.47 KB

authorized_keys-rs

Parse and manipulate OpenSSH authorized_keys files.

Linting Status Test Suite 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
  • Minimum rust version 1.34.2 (supports Debian Buster)

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.