-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Keychain Browser * Update from kSecClassInternetPassword * Fix view borders bug * Read password function * no message * no message * no message * no message * Improve Password unwrapping * Improve Password decoding * Test new implementation * no message * no message * no message * MOck data * More mock * Test mock * Make build * no message * no message * no message * Stash * Revise keychain implementation * no message * no message * no message * no message * no message * Fix toggle bug * no message * no message * no message * no message * no message
- Loading branch information
1 parent
7b4676a
commit bfc7139
Showing
16 changed files
with
682 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// | ||
// Keychain.swift | ||
// Scyther Playground | ||
// | ||
// Created by Brandon Stillitano on 19/9/21. | ||
// | ||
|
||
import Foundation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// | ||
// File.swift | ||
// | ||
// | ||
// Created by Brandon Stillitano on 20/9/21. | ||
// | ||
|
||
import Foundation | ||
|
||
extension NSDictionary { | ||
var swiftDictionary: Dictionary<String, Any> { | ||
var swiftDictionary = Dictionary<String, Any>() | ||
|
||
for key: Any in self.allKeys { | ||
guard let stringKey = key as? String else { | ||
continue | ||
} | ||
if let keyValue = self.value(forKey: stringKey) { | ||
swiftDictionary[stringKey] = keyValue | ||
} | ||
} | ||
|
||
return swiftDictionary | ||
} | ||
} |
Oops, something went wrong.