Aquesta és una versió anterior. La versió actual és la 0.4.2. ghtkn 0.4.2 · Data de publicació:
Fitxers d’instal·lació 0.3.0
| Arquitectura | Tipus | Àmbit | Mida del fitxer | Baixa | SHA256 |
|---|---|---|---|---|---|
| 64 bits | ZIP → Portable | — | — | github.com | VirusTotal |
| ARM64 | ZIP → Portable | — | — | github.com | VirusTotal |
L’enllaç i l’SHA256 provenen del manifest comunitari del Gestor de paquets del Windows. Convé comparar el hash del fitxer baixat abans d’executar-lo.
Notes de la versió
⚠️ Breaking Changes
#477 Disable the automatic device flow by default
Part of #474, phase 1 of the rollout.
ghtkn get, ghtkn git-credential, and SDK don't start the device flow automatically by default anymore.
You need to run ghtkn auth explicitly to start the device flow.
This reduces the risk of device code phishing.
If you prefer the previous behavior, you can still export GHTKN_ENABLE_DEVICE_FLOW=true and ghtkn get's -d option.
But at v0.4.0, these options will be removed.
Features
#469 Add ghtkn revoke --all to revoke every app's stored token
ghtkn revoke --all
This is useful for the incident response.
When the environment running ghtkn is compromised, you can revoke all stored tokens immediately.
#471 Support min_expiration in the config file
#472 Support backend.type in the config file
min_expiration: 1h
backend:
type: agent # One of agent, keyring, and text
Documentation
#473 Host the config JSON Schema in this repository
https://github.com/suzuki-shunsuke/ghtkn/blob/main/json-schema/ghtkn.json
Important
Please modify the URL in the configuration file.
Before:
# yaml-language-server: $schema=https://raw.githubusercontent.com/suzuki-shunsuke/ghtkn-go-sdk/refs/head/main/json-schema/ghtkn.json
After:
# yaml-language-server: $schema=https://raw.githubusercontent.com/suzuki-shunsuke/ghtkn/main/json-schema/ghtkn.jsonhttps://github.com/suzuki-shunsuke/ghtkn/releases/tag/v0.3.0