gitea.tea/modules
Bo-Yi Wu f6d939a8df
refactor(credstore): embed credential store and drop sdk-go dependency
- Embed the minimal credstore subset used by tea (SecureStore,
  EncryptedFileStore, KeyringStore, FileStore) as modules/credstore so
  external SDK renames can no longer break the build
- Keep the on-disk format fully compatible: AES-256-GCM values with the
  v1: prefix, credentials.json / credentials.json.enc paths, and the
  Token JSON field names are unchanged, verified by a ciphertext fixture
  generated with sdk-go v1.1.0
- Store the keyring master key under a tea-owned account name
- Reuse the existing kernel-level filelock module instead of the
  upstream lockfile protocol, removing a stale-lock race
- Cover roundtrip, keyring-unavailable fallback, and fixture decryption
  with tests using a mocked keyring
- Remove github.com/go-signet/sdk-go and promote
  github.com/zalando/go-keyring to a direct dependency

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-03 21:59:07 +08:00
..
api fix(http): add transport timeouts so tea fails fast on stalled servers (#1020) 2026-06-26 19:59:05 +00:00
auth fix(http): add transport timeouts so tea fails fast on stalled servers (#1020) 2026-06-26 19:59:05 +00:00
config refactor(credstore): embed credential store and drop sdk-go dependency 2026-08-03 21:59:07 +08:00
context fix(context): clarify the fallback login prompt wording (#1061) 2026-07-26 01:38:10 +00:00
credstore refactor(credstore): embed credential store and drop sdk-go dependency 2026-08-03 21:59:07 +08:00
debug add debug mode and update readme (#805) 2025-09-10 19:10:02 +00:00
filelock Move versions/filelocker into dedicated subpackages, and consistent headers in http requests (#888) 2026-02-05 18:05:43 +00:00
git Add reply to code review (#978) 2026-06-26 21:40:31 +00:00
httputil fix(http): add transport timeouts so tea fails fast on stalled servers (#1020) 2026-06-26 19:59:05 +00:00
interact feat(assignees): add set, add, and remove assignees APIs (#1045) 2026-07-18 00:20:03 +00:00
print fix(labels): add org label for ls and pr (#1017) 2026-06-24 17:46:12 +00:00
task feat(assignees): add set, add, and remove assignees APIs (#1045) 2026-07-18 00:20:03 +00:00
theme fix(theme): don't query the terminal at start-up (#1054) 2026-07-13 04:31:26 +00:00
utils feat(pulls): add --draft to create and --draft/--ready to edit (#1008) 2026-05-31 02:50:32 +00:00
version Move versions/filelocker into dedicated subpackages, and consistent headers in http requests (#888) 2026-02-05 18:05:43 +00:00