Skip to content

Commit e23e5ba

Browse files
author
Lisa Ugray
authored
Merge pull request #83 from Shopify/fix_trust
Fix trust
2 parents 705ed08 + 16f1679 commit e23e5ba

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

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
@@ -1,6 +1,6 @@
11
[package]
22
name = "shadowenv"
3-
version = "2.0.4"
3+
version = "2.0.5"
44
authors = ["Burke Libbey <[email protected]>", "Lisa Ugray <[email protected]>", "Aaron Olson <[email protected]>"]
55
edition = "2018"
66

default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ rustPlatform.buildRustPackage rec {
77
(lib.findFirst (line: lib.hasPrefix ''version = "'' line) ''version = ""''
88
(lib.splitString "\n" (builtins.readFile (./. + "/Cargo.toml")))));
99
src = builtins.fetchGit { url = "file://${builtins.toString ./.}"; };
10-
cargoSha256 = "09lyyvcn2x5f386sipimrdkhd2vgysfmh44r2vb3hrbwnscnibsz";
10+
cargoSha256 = "1ksrqyb88z0sav0hg2asly5my7zgqvjla22a47wb0sppj9f0z70b";
1111
nativeBuildInputs = [ installShellFiles ];
1212
buildInputs =
1313
lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];

src/trust.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ pub fn is_dir_trusted(dir: &PathBuf) -> Result<bool, Error> {
5252
}
5353

5454
fn load_or_generate_signer() -> Result<Keypair, Error> {
55-
let path = format!("{}/.config/shadowenv/trust-key", std::env::var("HOME")?);
55+
let path = format!("{}/.config/shadowenv/trust-key-v2", std::env::var("HOME")?);
5656

5757
let r_o_bytes: Result<Option<Vec<u8>>, Error> = match fs::read(Path::new(&path)) {
5858
Ok(bytes) => Ok(Some(bytes)),

0 commit comments

Comments
 (0)