2 个版本
0.2.1 | 2024年7月18日 |
---|---|
0.2.0 | 2024年7月18日 |
0.0.0 |
|
#280 in 身份验证
每月下载量 251
62KB
1.5K SLoC
hanko
hanko
使用在 GitHub 和 GitLab 等平台上配置的签名密钥为您管理本地的 Git 允许签名者文件。
[!警告]
该项目仍在开发中,尚未准备好用于生产。
示例配置
users = [
{ name = "torvalds", principals = ["[email protected]"], sources = ["github"] },
{ name = "gvanrossum", principals = ["[email protected]"], sources = ["github", "gitlab"] },
{ name = "graydon", principals = ["[email protected]"], sources = ["github"] },
{ name = "cwoods", principals = ["[email protected]"], sources = ["acme-corp"] },
{ name = "rdavis", principals = ["[email protected]"], sources = ["acme-corp"] },
{ name = "pbrock", principals = ["[email protected]"], sources = ["acme-corp"] }
]
[[sources]]
name = "acme-corp"
provider = "gitlab"
url = "https://git.acme.corp"
依赖项
~17–35MB
~568K SLoC