You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm building some dev tools and I have some local application cache data that I need to encrypt. Currently I need to manage the decryption key, and there's not really a good place to put it, other than on disk right near the encrypted data.
It would be awesome if I could rely on 1password for this encryption/decryption instead. Especially if the sdk supported connecting to the local desktop app, then I could safely store this data on the local filesystem, and rely on 1password biometric unlock to decrypt it.
Requirements and desired behavior
I think everything is based on vaults, so I imagine you'd have to select a vault, although perhaps it could select a default somehow.
constopClient=awaitcreateClient({useDesktopApp: true,});// I imagine it can probably encrypt without unlocking, but depends how it works under the hood...constencryptedData=awaitopClient.utils.encrypt('plain text data',{vaultId: 'xyz123'});// maybe encrypted data includes vault id too?// triggers biometric unlock if not already unlockedconstdecrypted=awaitopClient.utils.decrypt(encryptedData,{vaultId: 'xyz123'});
Additional information
No response
The text was updated successfully, but these errors were encountered:
@SimonBarendse - yep I can do that now, but it requires creating the item, storing configuration about where the key is stored, and explaining to the user to not mess with it. The idea here would be to have a method that works with as little configuration as possible.
Use Case
I'm building some dev tools and I have some local application cache data that I need to encrypt. Currently I need to manage the decryption key, and there's not really a good place to put it, other than on disk right near the encrypted data.
It would be awesome if I could rely on 1password for this encryption/decryption instead. Especially if the sdk supported connecting to the local desktop app, then I could safely store this data on the local filesystem, and rely on 1password biometric unlock to decrypt it.
Requirements and desired behavior
I think everything is based on vaults, so I imagine you'd have to select a vault, although perhaps it could select a default somehow.
Additional information
No response
The text was updated successfully, but these errors were encountered: