Repository navigation
On My Plate 0.1.1
A security release: tokens are no longer stored in plain text.
Security
- Tokens live in the keychain of your system — macOS Keychain, the Secret Service on Linux (GNOME Keyring, KWallet via
secret-tool), Windows Credential Manager — bound to the host of the configured URL, so they are never sent anywhere else. --set-token/--delete-tokenstore or remove a token. It is asked for without echo (or read from a pipe) and reaches the keychain through stdin, never through a command line."token_command"can fetch a token from a password manager instead, e.g."op read op://Private/GitLab/token".- Configs that still contain a
"token"are cleaned up on the next start or refresh: the token moves into the keychain and is removed from the file. Without a keychain, such a config is refused.
Upgrading from 0.1.0
Just start the new version once: tokens in your onmyplate.config.json move into the keychain automatically and the file no longer contains them. On a machine without a keychain, use "token_command" or the ONMYPLATE_*_TOKEN variables instead.
curl -LO https://github.com/Gr33ndev/OnMyPlate/releases/download/v0.1.1/onmyplate.py
python3 onmyplate.py --set-token gitlabVerified on real keychains in CI: macOS, Linux (GNOME Keyring) and Windows (Credential Manager).
Files: onmyplate.py is the whole tool; the wheel and source archive are for pip/pipx. Verify downloads with shasum -a 256 -c SHA256SUMS.
Full changelog: v0.1.0...v0.1.1