montross50/sshpubkey-validator
最新稳定版本:1.0.1
Composer 安装命令:
composer require montross50/sshpubkey-validator
包简介
Validate ssh-rsa key for valid openssh format.
README 文档
README
This package serves to take in an ssh-rsa key and validate whether the key is in a valid format. I'm sure there is a better way to do this but I couldn't find anything better in pure php.
Install
Via Composer
$ composer require montross50/sshpubkey-validator
Usage
$validator = new montross50\SSHPubKeyValidator(); $key = "ssh-rsa ......."; if($validator->validateKey($key)){ //key is valid } else{ //key is invalid }
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email sch43228@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 22.26k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-06-03