-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(pluto): add keychain capabilities #98
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
General Inquiry:
- We are going to use the keychain only in the demo project and it will not be shipped in the SDK, correct?
General Comment:
I very much liked how you handled the keychain operations 🤗
Otherwise, LGTM 🤗
@@ -81,6 +81,7 @@ final class PackEncryptedOperation: OnPackEncryptedResult { | |||
} | |||
|
|||
func success(result: String, metadata: PackEncryptedMetadata) { | |||
print(result) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be removed, missed during debug
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup nice catch ;)
@@ -1,7 +1,7 @@ | |||
import Domain | |||
import Foundation | |||
|
|||
extension AttachmentDescriptor: Codable { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you remove the Codable
but kept the CodingKeys
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually all file needs to be removed this is now duplicated on Domain ;) Removed
Now keys will save on the keychain if they conform to the KeychainStorableKey, this is true by default on the keys created by Apollo Pluto will take care of the saving and fetching the keys from the blockchain. This allows for secrets to be shared between apps and to be synchronised to iCloud if required, although all this is by opt in
b189ed2
to
2f866b0
Compare
Thx mate :) |
Now keys will save on the keychain if they conform to the KeychainStorableKey, this is true by default on the keys created by Apollo Pluto will take care of the saving and fetching the keys from the blockchain.
This allows for secrets to be shared between apps and to be synchronised to iCloud if required, although all this is by opt in