Skip to content

armgit / peel

Public Imported from GitHub
0

Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.

Protect the Stellar command line's identities

Țugui Dragoș7a47c81bdf07
diff --git a/Packages/PeelCore/Sources/PeelPrivileged/ProtectedData.swift b/Packages/PeelCore/Sources/PeelPrivileged/ProtectedData.swift
index 47d73b15..ac2a7f30 100644
--- a/Packages/PeelCore/Sources/PeelPrivileged/ProtectedData.swift
+++ b/Packages/PeelCore/Sources/PeelPrivileged/ProtectedData.swift
@@ -151,6 +151,8 @@ public enum ProtectedData: Sendable {
".lightning/bitcoin/emergency.recover",
"Library/Application Support/albyhub",
".config/solana/id.json",
+ ".config/stellar/identity",
+ ".config/soroban/identity",
".sui/sui_config/sui.keystore",
".aptos/config.yaml",
".near-credentials",
diff --git a/Packages/PeelCore/Tests/PeelCoreTests/DesktopWalletTests.swift b/Packages/PeelCore/Tests/PeelCoreTests/DesktopWalletTests.swift
index 03cc9746..5dc26a98 100644
--- a/Packages/PeelCore/Tests/PeelCoreTests/DesktopWalletTests.swift
+++ b/Packages/PeelCore/Tests/PeelCoreTests/DesktopWalletTests.swift
@@ -46,6 +46,8 @@ struct DesktopWalletTests {
".avalanche-cli/key/main.pk",
".avalanchego/staking/staker.key",
".avalanchego/staking/staker.crt",
+ ".config/stellar/identity/carol.toml",
+ ".config/soroban/identity/carol.toml",
])
func refusesWhatAWalletKeeps(_ key: String) throws {
let directory = try TemporaryDirectory()
@@ -75,6 +77,7 @@ struct DesktopWalletTests {
".brownie/packages/OpenZeppelin/[email protected]/package.json",
".avalanchego/db/mainnet/v1.4.5/000001.log",
".avalanche-cli/logs/avalanche.log",
+ ".config/stellar/network/testnet.toml",
])
func leavesWhatComesBackOnItsOwn(_ cache: String) throws {
let directory = try TemporaryDirectory()