// Copyright 2026 The Gitea Authors. All rights reserved. // SPDX-License-Identifier: MIT // Package credstore provides secure storage for OAuth tokens. Values are // AES-256-GCM-encrypted into a JSON file while only the 32-byte master key // lives in the OS keyring; when the keyring is unavailable the store falls // back to plaintext file storage. package credstore