Use mcdsl/terminal for all password prompts

Replace direct golang.org/x/term calls with mcdsl/terminal.ReadPassword
across mciasctl (6 sites), mciasgrpcctl (1 site), and mciasdb (1 site).
Aligns with the new CLI security standard in engineering-standards.md.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-28 11:40:11 -07:00
co-authored by Claude Opus 4.6
parent e4220b840e
commit 5b5e1a7ed6
142 changed files with 10241 additions and 7788 deletions
+2 -1
View File
@@ -25,8 +25,9 @@ Michael Hoffmann <mhoffm@posteo.de>
Michael Rykov <mrykov@gmail.com>
Morgan Bazalgette <morgan@howl.moe>
Ross Light <ross@zombiezen.com>
SUSE LLC <moio@suse.com>
Saed SayedAhmed <saadmtsa@gmail.com>
Steffen Butzer <steffen(dot)butzer@outlook.com>
Toni Spets <toni.spets@beeper.com>
W. Michael Petullo <mike@flyn.org>
SUSE LLC <moio@suse.com>
Zhenghao Zhang zhangzhenghao@hotmail.com
+10
View File
@@ -1,8 +1,18 @@
# Changelog
- 2026-03-17 v1.47.0: Add CGO-free version of the vector extensions from https://github.com/asg017/sqlite-vec. See `vec_test.go` for example usage. From the GitHub project page:
- **Important:** sqlite-vec is a pre-v1, so expect breaking changes!
- Store and query float, int8, and binary vectors in vec0 virtual tables
- Written in pure C, no dependencies, runs anywhere SQLite runs (Linux/MacOS/Windows, in the browser with WASM, Raspberry Pis, etc.)
- Store non-vector data in metadata, auxiliary, or partition key columns
- Thanks Zhenghao Zhang!
- 2026-03-16 v1.46.2: Upgrade to [SQLite 3.51.3](https://sqlite.org/releaselog/3_51_3.html).
- 2026-02-17 v1.46.1:
- Ensure connection state is reset if Tx.Commit fails. Previously, errors like SQLITE_BUSY during COMMIT could leave the underlying connection inside a transaction, causing errors when the connection was reused by the database/sql pool. The driver now detects this state and forces a rollback internally.
- Fixes [GitHub issue #2](https://github.com/modernc-org/sqlite/issues/2), thanks Edoardo Spadolini!
- 2026-02-17 v1.46.0:
- Enable ColumnTypeScanType to report time.Time instead of string for TEXT columns declared as DATE, DATETIME, TIME, or TIMESTAMP via a new `_texttotime` URI parameter.
- See [GitHub pull request #1](https://github.com/modernc-org/sqlite/pull/1), thanks devhaozi!
+1
View File
@@ -44,3 +44,4 @@ Toni Spets <toni.spets@beeper.com>
W. Michael Petullo <mike@flyn.org>
Walter Wanderley <walterwanderley@gmail.com>
Yaacov Akiba Slama <ya@slamail.org>
Zhenghao Zhang zhangzhenghao@hotmail.com
+1 -1
View File
@@ -67,7 +67,7 @@ test:
go test -v -timeout 24h
vendor:
cd vendor_libsqlite3 && go build -o ../vendor main.go
cd vendor_libs && go build -o ../vendor main.go
./vendor
rm -f vendor
make build_all_targets
+15 -15
View File
@@ -27,21 +27,21 @@
//
// OS Arch SQLite version
// ------------------------------
// darwin amd64 3.51.2
// darwin arm64 3.51.2
// freebsd amd64 3.51.2
// freebsd arm64 3.51.2
// linux 386 3.51.2
// linux amd64 3.51.2
// linux arm 3.51.2
// linux arm64 3.51.2
// linux loong64 3.51.2
// linux ppc64le 3.51.2
// linux riscv64 3.51.2
// linux s390x 3.51.2
// windows 386 3.51.2
// windows amd64 3.51.2
// windows arm64 3.51.2
// darwin amd64 3.51.3
// darwin arm64 3.51.3
// freebsd amd64 3.51.3
// freebsd arm64 3.51.3
// linux 386 3.51.3
// linux amd64 3.51.3
// linux arm 3.51.3
// linux arm64 3.51.3
// linux loong64 3.51.3
// linux ppc64le 3.51.3
// linux riscv64 3.51.3
// linux s390x 3.51.3
// windows 386 3.51.3
// windows amd64 3.51.3
// windows arm64 3.51.3
//
// # Benchmarks
//
+315 -292
View File
File diff suppressed because one or more lines are too long
+315 -292
View File
File diff suppressed because one or more lines are too long
+555 -505
View File
File diff suppressed because one or more lines are too long
+555 -505
View File
File diff suppressed because one or more lines are too long
+315 -292
View File
File diff suppressed because one or more lines are too long
+315 -292
View File
File diff suppressed because one or more lines are too long
+315 -292
View File
File diff suppressed because one or more lines are too long
+315 -292
View File
File diff suppressed because one or more lines are too long
+315 -292
View File
File diff suppressed because one or more lines are too long
+315 -292
View File
File diff suppressed because one or more lines are too long
+315 -292
View File
File diff suppressed because one or more lines are too long
+315 -292
View File
File diff suppressed because one or more lines are too long
+315 -292
View File
File diff suppressed because one or more lines are too long
+315 -292
View File
File diff suppressed because one or more lines are too long
+315 -292
View File
File diff suppressed because one or more lines are too long
+315 -292
View File
File diff suppressed because one or more lines are too long
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB