Skip to content

Commit 7e73fda

Browse files
chore: release versions (#46)
1 parent 4b868c7 commit 7e73fda

5 files changed

Lines changed: 23 additions & 21 deletions

File tree

.changeset/31852fab9121.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# @googleworkspace/cli
22

3+
## 0.2.1
4+
5+
### Patch Changes
6+
7+
- 6ae7427: fix(auth): stabilize encrypted credential key fallback across sessions
8+
9+
When the OS keyring returned `NoEntry`, the previous code could generate
10+
a fresh random key on each process invocation instead of reusing one.
11+
This caused `credentials.enc` written by `gws auth login` to be
12+
unreadable by subsequent commands.
13+
14+
Changes:
15+
16+
- Always prefer an existing `.encryption_key` file before generating a new key
17+
- When generating a new key, persist it to `.encryption_key` as a stable fallback
18+
- Best-effort write new keys into the keyring as well
19+
- Fix `OnceLock` race: return the already-cached key if `set` loses a race
20+
21+
Fixes #27
22+
323
## 0.2.0
424

525
### Minor Changes

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
[package]
1616
name = "gws"
17-
version = "0.2.0"
17+
version = "0.2.1"
1818
edition = "2021"
1919
description = "Google Workspace CLI — dynamic command surface from Discovery Service"
2020
license = "Apache-2.0"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@googleworkspace/cli",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"private": true,
55
"description": "Google Workspace CLI — dynamic command surface from Discovery Service",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)