polish P1: drop CipherScheme's unused Codable and CaseIterable

Nothing encodes a CipherScheme — Settings stores its rawValue through the
accessor — and nothing enumerates the cases; the picker lists both by
hand. String, Sendable and Hashable are the three that are actually load
bearing (settings, ChannelConfig, SwiftUI's .tag).

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This commit is contained in:
lucioandClaude Opus 5 committed 2026-09-16 21:12:47 -07:00
1 parent 81e35b6691
commit 9930412c6b
1 file changed
+1 -1
+1 -1
View File
@@ -33,7 +33,7 @@ public enum CipherError: Error, Sendable, Hashable {
///
/// There is no negotiation: both vintages of Windows write their preamble
/// first and never adapt, so the user picks the one their PCs run.
public enum CipherScheme: String, Sendable, Hashable, CaseIterable, Codable {
public enum CipherScheme: String, Sendable, Hashable {
/// PowerToys v0.100.2 and earlier: fixed salt and IV, no cleartext header.
case legacy
/// PowerToys v0.101 and later: a per-connection random salt and IV sent in