fix: critical patches for ssh signing, profile switching, and subdir support This release addresses several critical issues discovered during E2E testing: - **fix(exec):** Prevent crash in Exec Mode when using SSH signing. - Sanitizer now resets `gpg.format` to "openpgp" and `gpg.ssh.program` to "ssh-keygen" instead of empty strings (which caused Git to exit with code 128). - **fix(switch):** Correctly replace active profile instead of appending. - Now cleans up existing Gosh include paths before adding the new one to prevent ambiguous identity resolution. - **fix(core):** Support running Gosh from deep subdirectories. - Replaced manual `.git` folder check with `git rev-parse` to correctly detect repository root. - **security:** Hardened Blind Injection defaults to align with Git 2.52+ strictness.
16 lines
309 B
TOML
16 lines
309 B
TOML
[package]
|
|
name = "gosh"
|
|
version = "0.1.1"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
clap = { version = "4.5", features = ["derive"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
toml = "0.8"
|
|
dirs = "5.0"
|
|
anyhow = "1.0"
|
|
|
|
[dev-dependencies]
|
|
assert_cmd = "2.0"
|
|
tempfile = "3.10"
|
|
predicates = "3.1"
|