hubauth / authorized_keys

Parse and transform OpenSSH `authorized_keys` files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Parse and transform OpenSSH `authorized_keys` files

License:Apache License 2.0


Languages

Language:Rust 97.3%Language:Ruby 2.7%