Expand description
File backend implementation backed by the Secret portal.
+Expand description
File backend implementation backed by the Secret portal.
use std::collections::HashMap;
diff --git a/oo7/portal/struct.Keyring.html b/oo7/portal/struct.Keyring.html
index fe80101cd..9a8070ffe 100644
--- a/oo7/portal/struct.Keyring.html
+++ b/oo7/portal/struct.Keyring.html
@@ -1,6 +1,6 @@
Keyring in oo7::portal - Rust
pub struct Keyring { /* private fields */ }
Expand description
File backed keyring.
-Implementations§
source§impl Keyring
sourcepub async fn load_default() -> Result<Self, Error>
Load from default keyring file
+Implementations§
source§impl Keyring
sourcepub async fn load_default() -> Result<Self, Error>
Load from default keyring file
sourcepub async fn delete_item_index(&self, index: usize) -> Result<(), Error>
Deletes item at the given index.
+Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Keyring
§impl Send for Keyring
§impl Sync for Keyring
§impl Unpin for Keyring
§impl !UnwindSafe for Keyring
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/search-index.js b/search-index.js
index deee202b1..343a0c609 100644
--- a/search-index.js
+++ b/search-index.js
@@ -1,5 +1,5 @@
var searchIndex = new Map(JSON.parse('[\
-["oo7",{"doc":"OO7","t":"PPGGFGPPINNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNHNNNNHNNCNNNNNNNNNNNNNNNNNNNNNNNNENFSPPGPPFPPPSFPGPPCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFFFFFKNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNPGPPPFPPFPFPPPPPPPPPFPPPPGCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["DBus","Err","Error","Item","Key","Keyring","Ok","Portal","Result","as_mut","as_ref","attributes","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","create_item","created","dbus","delete","delete","drop","encode_hex","encode_hex_upper","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","into","into","into","into","is_locked","is_sandboxed","items","label","lock","lock","migrate","modified","new","portal","search_items","secret","set_attributes","set_label","set_secret","to_string","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","unlock","unlock","vzip","vzip","vzip","vzip","zbus","zeroize","Collection","DEFAULT_COLLECTION","Deleted","Dismissed","Error","IO","IsLocked","Item","NoSession","NoSuchObject","NotFound","SESSION_COLLECTION","Service","Service","ServiceError","ZBus","Zbus","api","attributes","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","collections","create_collection","create_item","create_reply","created","created","default_collection","delete","delete","description","encrypted","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","into","into","into","into","into","is_locked","is_locked","items","label","label","lock","lock","modified","modified","name","new","path","plain","receive_item_changed","receive_item_created","receive_item_deleted","search_items","secret","set_attributes","set_label","set_label","set_secret","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","unlock","unlock","vzip","vzip","vzip","vzip","vzip","with_alias","with_label","Collection","Item","Properties","Secret","Service","Session","Unlockable","attributes","attributes","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","close","collections","content_type","create_collection","create_item","created","created","delete","delete","deserialize","deserializer_for_signature","drop","dynamic_signature","dynamic_signature","dynamic_signature","dynamic_signature","dynamic_signature","dynamic_signature","eq","fmt","fmt","fmt","fmt","fmt","fmt","for_collection","for_item","from","from","from","from","from","from","hash","inner","inner","inner","inner","into","into","into","into","into","into","is_locked","is_locked","items","label","label","label","lock","modified","modified","new","new","new","new","open_session","parameters","read_alias","receive_collection_changed","receive_collection_created","receive_collection_deleted","receive_item_changed","receive_item_created","receive_item_deleted","search_items","search_items","secret","secrets","serialize","serialize","serialize","serialize","serialize","session","set_alias","set_attributes","set_label","set_label","set_secret","signature","signature","signature","signature","signature","signature","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","unlock","value","vzip","vzip","vzip","vzip","vzip","vzip","zeroize","CancelledPortalRequest","Error","FileHeaderMismatch","GVariantDeserialization","HashedAttributeMac","InvalidItemError","InvalidItemIndex","Io","Item","IterationCountTooLow","Keyring","MacError","NoData","NoDataDir","NoParentDir","PasswordTooShort","PortalBus","PortalNotAvailable","SaltSizeMismatch","SaltTooShort","Secret","StrengthUnknown","TargetFileChanged","VersionMismatch","WeakKey","WeakKeyError","api","attributes","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","create_item","created","delete","delete_item_index","deref","deserialize","deserializer_for_signature","drop","drop","dynamic_signature","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","into","into","into","into","into","into","items","label","load","load_default","lookup_item","modified","n_items","replace_item_index","search_items","secret","serialize","set_attributes","set_label","set_secret","signature","to_owned","to_owned","to_string","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","write","zeroize","zeroize","AttributeValue","Keyring","as_ref","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","default_path","deref","derive_key","deserialize","deserialize","deserializer_for_signature","deserializer_for_signature","drop","dump","dynamic_signature","dynamic_signature","fmt","fmt","from","from","from","from","into","into","key_strength","lookup_item","remove_items","search_items","serialize","serialize","signature","signature","to_owned","try_from","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","zeroize"],"q":[[0,"oo7"],[80,"oo7::dbus"],[191,"oo7::dbus::api"],[326,"oo7::portal"],[454,"oo7::portal::api"],[501,"alloc::string"],[502,"std::collections::hash::map"],[503,"core::convert"],[504,"core::time"],[505,"core::iter::traits::collect"],[506,"core::fmt"],[507,"core::fmt"],[508,"alloc::vec"],[509,"zeroize"],[510,"core::result"],[511,"core::any"],[512,"core::option"],[513,"zbus::message_header"],[514,"zbus::message"],[515,"zbus::error"],[516,"zbus::error"],[517,"zbus::fdo"],[518,"zvariant::error"],[519,"zbus_names::error_name"],[520,"zvariant::object_path"],[521,"futures_core::stream"],[522,"zvariant::object_path"],[523,"zvariant::signature"],[524,"core::convert"],[525,"zbus::proxy"],[526,"zbus::connection"],[527,"serde::ser"],[528,"std::path"],[529,"alloc::string"]],"d":["Secret Service error.","Contains the error value","The error type for oo7.","A generic secret with a label and attributes.","A key.","A Secret Service or file backed keyring implementation.","Contains the success value","File backend error.","Alias for std::result::Result
with the error type Error
.","","","Retrieve the item attributes.","","","","","","","","","Create a new item.","The UNIX time when the item was created.","A Secret Service implementation.","Remove items that matches the attributes.","Delete the item.","","","","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Whether the item is locked or not","Checks whether the application is sandboxed or not.","Retrieve all the items.","The item label.","Lock the used collection if using the Secret service.","Lock the item","Helper to migrate your secrets from the host Secret Service","The UNIX time when the item was modified.","Create a new instance of the Keyring.","File backend implementation backed by the Secret portal.","Find items based on their attributes.","Retrieves the stored secret.","Sets the item attributes.","Sets the item label.","Sets a new secret.","","","","","","","","","","","","","","Unlock the used collection if using the Secret service.","Unlock the item","","","","","","","A collection allows to store and retrieve items.","The default collection alias.","The item/collection was removed.","The prompt request was dismissed.","DBus backend specific errors.","Input/Output.","Collection/Item is locked.","A secret with a label and attributes to identify it.","Session does not exist.","Collection/Item does not exist.","The collection doesn’t exists","A session collection.","The entry point of communicating with a …","A service error.","DBus Secret Service specific errors. …","ZBus specific error.","Something went wrong on the wire.","Barebone DBus API of the Secret Service specifications.","Retrieve the item attributes.","","","","","","","","","","","Get a list of all the available collections.","Create a new collection.","Create a new item on the collection","","The UNIX time when the item was created.","The UNIX time when the collection was created.","Retrieve the default collection.","Delete the item.","Delete the collection.","","Create a new instance of the Service with encrypted …","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","","","","Returns the argument unchanged.","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Get whether the item is locked.","Get whether the collection is locked.","Retrieve the list of available Item
in the collection.","The item label.","The collection label.","Lock the item.","Lock the collection.","The UNIX time when the item was modified.","The UNIX time when the collection was modified.","","Create a new instance of the Service, an encrypted …","Returns item path","Create a new instance of the Service with plain algorithm.","Stream yielding when existing items get changed","Stream yielding when new items get created","Stream yielding when existing items get deleted","Search for items based on their attributes.","Retrieve the currently stored secret.","Update the item attributes.","Set the item label.","Set the collection label.","Modify the stored secret on the item.","","","","","","","","","","","","","","","","","","Unlock the item.","Unlock the collection.","","","","","","Find a collection with it alias.","Find a collection with it label.","","","","","","","A common trait implemented by objects that can be locked …","","","","","","","","","","","","","","","","","Content type of the secret","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","","","","","","","","","","","","","","","Algorithm dependent parameters for secret value encoding","","","","","","","","","","","","","","","","","Session used to encode the secret","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Possibly encoded secret value","","","","","","","","Portal request has been cancelled.","File backend specific errors.","File header does not match FILE_HEADER
.","Bytes don’t have the expected GVariant format.","Failure to validate the attributes.","All information that is available about an invalid (not …","The addressed index does not exist.","Input/Output.","An item stored in the file backend.","Avoid attack on existing files","File backed keyring.","Unexpected MAC digest value.","No data behind header and version bytes.","XDG_DATA_HOME required for reading from default location.","No Parent directory.","Just not secure enough to store password","Portal DBus communication error.","If the portal is not available on the host. Can happen if …","Mismatch between array length and length explicitly stored …","Avoid attack on existing files","Secret retrieved from the XDG secret portal.","Should not occur","Target file has changed.","Version bytes do not match MAJOR_VERSION
or MINOR_VERSION
.","Key for some reason too weak to trust it for writing","Details about why an encryption key is consider too weak …","GNOME Keyring file format low level API.","Retrieve the item attributes.","","","","","","","","","","","","","","","","","Create a new item","The UNIX time when the item was created.","Delete an item.","Deletes item at the given index.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Retrieve the list of available Item
s.","The item label.","Load from a keyring file.","Load from default keyring file","Find the first item matching the attributes.","The UNIX time when the item was modified.","Retrieve the number of items","Replaces item at the given index.","Search items matching the attributes.","Retrieve the currently stored secret.","","Update the item attributes.","Set the item label.","Store a new secret.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Write the changes to the keyring file.","","","An encrypted attribute value.","Logical contents of a keyring file","","","","","","","","","","","","","","","","Write to a keyring file","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self)
.","Calls U::from(self)
.","","","","","","","","","","","","","","","","","","",""],"i":[16,7,0,0,0,0,7,16,0,1,1,4,16,1,8,4,16,1,8,4,8,4,0,8,4,1,1,1,16,16,1,8,4,16,16,16,1,1,8,4,16,1,8,4,4,0,8,4,8,4,0,4,8,0,8,4,4,4,4,16,16,1,8,4,16,1,8,4,16,1,8,4,8,4,16,1,8,4,0,1,0,0,19,19,0,19,30,0,30,30,19,0,0,19,0,30,19,0,26,26,30,19,27,28,26,30,19,27,28,27,27,28,30,26,28,27,26,28,30,27,26,30,30,19,19,27,28,26,30,30,19,19,19,19,19,19,27,28,26,30,19,27,28,26,28,28,26,28,26,28,26,28,30,27,26,27,28,28,28,28,26,26,26,28,26,30,19,26,30,19,27,28,26,30,19,27,28,26,30,19,27,28,26,28,26,30,19,27,28,27,27,0,0,0,0,0,0,0,43,44,47,43,44,48,46,45,47,43,44,48,46,45,45,46,48,46,47,47,43,47,43,44,44,48,47,43,44,48,46,45,43,47,43,44,48,46,45,44,44,47,43,44,48,46,45,43,47,43,46,45,47,43,44,48,46,45,47,43,47,47,43,44,46,47,43,47,43,46,45,46,48,46,46,46,46,47,47,47,47,46,43,46,47,43,44,48,45,48,46,43,47,43,43,47,43,44,48,46,45,47,43,44,48,46,45,47,43,44,48,46,45,47,43,44,48,46,45,46,48,47,43,44,48,46,45,48,20,0,20,20,20,0,20,20,0,60,0,20,20,20,20,60,20,20,20,60,0,60,20,20,20,0,0,58,20,64,60,58,63,61,20,64,60,58,63,61,60,58,60,58,61,58,61,61,63,58,58,58,63,58,20,20,64,64,60,60,58,63,61,20,20,20,20,20,64,60,58,63,63,61,20,64,60,58,63,61,61,58,61,61,61,58,61,61,61,58,58,58,58,58,58,60,58,20,64,60,20,64,60,58,58,63,61,20,64,60,58,63,61,20,64,60,58,63,61,20,64,60,58,63,61,61,58,63,0,0,59,59,68,59,68,59,59,68,59,68,59,68,59,68,59,68,59,68,59,68,59,59,59,68,59,68,68,68,68,68,59,68,59,68,59,59,68,68,59,68,59,68,59,68,59],"f":"`````````{b{{f{d}}}}0{h{{n{{l{jj}}}}}}{ce{}{}}0000000{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1,"unit"],[10,"AsRef",503],[5,"Duration",504],[1,"char"],[10,"FromIterator",505],[6,"Error",0],[5,"Formatter",506],[8,"Result",506],[6,"Error",80],[6,"Error",326],[5,"OwnedValue",507],[5,"Vec",508],[5,"Zeroizing",509],[6,"Result",510],[5,"TypeId",511],[5,"Item",80],[5,"Service",80],[5,"Collection",80],[6,"Option",512],[6,"ServiceError",80],[5,"MessageHeader",513],[5,"Message",514],[8,"Result",515],[6,"Error",515],[5,"Error",516],[6,"Error",517],[6,"Error",518],[5,"ErrorName",519],[5,"ObjectPath",520],[17,"Item"],[10,"Stream",521],[5,"OwnedObjectPath",520],[5,"Item",191],[5,"Properties",191],[5,"Session",191],[5,"Service",191],[5,"Collection",191],[5,"Secret",191],[10,"Deserializer",522],[5,"Signature",523],[10,"TryInto",503],[10,"Hasher",524],[5,"Proxy",525],[10,"Unlockable",191],[5,"Connection",526],[1,"tuple"],[10,"Serializer",527],[5,"Item",326],[5,"AttributeValue",454],[6,"WeakKeyError",326],[5,"Keyring",326],[1,"usize"],[5,"Secret",326],[5,"InvalidItemError",326],[5,"Path",528],[10,"ToString",501],[5,"PathBuf",528],[5,"Keyring",454],[5,"SystemTime",529],[1,"never"]],"b":[[28,"impl-Display-for-Error"],[29,"impl-Debug-for-Error"],[33,"impl-From%3CError%3E-for-Error"],[34,"impl-From%3CError%3E-for-Error"],[121,"impl-Display-for-ServiceError"],[122,"impl-Debug-for-ServiceError"],[123,"impl-Debug-for-Error"],[124,"impl-Display-for-Error"],[130,"impl-From%3CError%3E-for-Error"],[131,"impl-From%3CError%3E-for-Error"],[132,"impl-From%3CError%3E-for-Error"],[134,"impl-From%3CError%3E-for-Error"],[135,"impl-From%3CServiceError%3E-for-Error"],[380,"impl-Display-for-Error"],[381,"impl-Debug-for-Error"],[382,"impl-Debug-for-InvalidItemError"],[383,"impl-Display-for-InvalidItemError"],[384,"impl-Debug-for-WeakKeyError"],[385,"impl-Display-for-WeakKeyError"],[390,"impl-From%3CError%3E-for-Error"],[391,"impl-From%3CError%3E-for-Error"],[392,"impl-From%3CError%3E-for-Error"],[393,"impl-From%3CWeakKeyError%3E-for-Error"]],"a":{"collectionchanged":[272],"collectioncreated":[273],"collectiondeleted":[274],"createcollection":[215],"createitem":[216],"getsecret":[280],"getsecrets":[281],"itemchanged":[275],"itemcreated":[276],"itemdeleted":[277],"locked":[144,256,257],"opensession":[269],"org.freedesktop.secret.collection":[191],"org.freedesktop.secret.item":[192],"org.freedesktop.secret.session":[196],"org.freedesktop.secrets":[195],"readalias":[271],"searchitems":[278,279],"setalias":[288],"setsecret":[164,292]}}]\
+["oo7",{"doc":"OO7","t":"PPGGFGPPINNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNHNNNNHNNCNNNNNNNNNNNNNNNNNNNNNNNNENFSPPGPPFPPPSFPGPPCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFFFFFKNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNPGPPPFPPFPFPPPPPPPPPFPPPPGCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["DBus","Err","Error","Item","Key","Keyring","Ok","Portal","Result","as_mut","as_ref","attributes","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","create_item","created","dbus","delete","delete","drop","encode_hex","encode_hex_upper","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","into","into","into","into","is_locked","is_sandboxed","items","label","lock","lock","migrate","modified","new","portal","search_items","secret","set_attributes","set_label","set_secret","to_string","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","unlock","unlock","vzip","vzip","vzip","vzip","zbus","zeroize","Collection","DEFAULT_COLLECTION","Deleted","Dismissed","Error","IO","IsLocked","Item","NoSession","NoSuchObject","NotFound","SESSION_COLLECTION","Service","Service","ServiceError","ZBus","Zbus","api","attributes","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","collections","create_collection","create_item","create_reply","created","created","default_collection","delete","delete","description","encrypted","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","into","into","into","into","into","is_locked","is_locked","items","label","label","lock","lock","modified","modified","name","new","path","plain","receive_item_changed","receive_item_created","receive_item_deleted","search_items","secret","set_attributes","set_label","set_label","set_secret","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","unlock","unlock","vzip","vzip","vzip","vzip","vzip","with_alias","with_label","Collection","Item","Properties","Secret","Service","Session","Unlockable","attributes","attributes","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","close","collections","content_type","create_collection","create_item","created","created","delete","delete","deserialize","deserializer_for_signature","drop","dynamic_signature","dynamic_signature","dynamic_signature","dynamic_signature","dynamic_signature","dynamic_signature","eq","fmt","fmt","fmt","fmt","fmt","fmt","for_collection","for_item","from","from","from","from","from","from","hash","inner","inner","inner","inner","into","into","into","into","into","into","is_locked","is_locked","items","label","label","label","lock","modified","modified","new","new","new","new","open_session","parameters","read_alias","receive_collection_changed","receive_collection_created","receive_collection_deleted","receive_item_changed","receive_item_created","receive_item_deleted","search_items","search_items","secret","secrets","serialize","serialize","serialize","serialize","serialize","session","set_alias","set_attributes","set_label","set_label","set_secret","signature","signature","signature","signature","signature","signature","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","unlock","value","vzip","vzip","vzip","vzip","vzip","vzip","zeroize","CancelledPortalRequest","Error","FileHeaderMismatch","GVariantDeserialization","HashedAttributeMac","InvalidItemError","InvalidItemIndex","Io","Item","IterationCountTooLow","Keyring","MacError","NoData","NoDataDir","NoParentDir","PasswordTooShort","PortalBus","PortalNotAvailable","SaltSizeMismatch","SaltTooShort","Secret","StrengthUnknown","TargetFileChanged","VersionMismatch","WeakKey","WeakKeyError","api","attributes","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","create_item","created","delete","delete_item_index","deref","deserialize","deserializer_for_signature","drop","drop","dynamic_signature","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","into","into","into","into","into","into","items","label","load","load_default","lookup_item","modified","n_items","replace_item_index","search_items","secret","serialize","set_attributes","set_label","set_secret","signature","to_owned","to_owned","to_string","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","write","zeroize","zeroize","AttributeValue","Keyring","as_ref","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","default_path","deref","derive_key","deserialize","deserialize","deserializer_for_signature","deserializer_for_signature","drop","dump","dynamic_signature","dynamic_signature","fmt","fmt","from","from","from","from","into","into","key_strength","lookup_item","remove_items","search_items","serialize","serialize","signature","signature","to_owned","try_from","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","zeroize"],"q":[[0,"oo7"],[80,"oo7::dbus"],[191,"oo7::dbus::api"],[326,"oo7::portal"],[454,"oo7::portal::api"],[501,"alloc::string"],[502,"std::collections::hash::map"],[503,"core::convert"],[504,"core::time"],[505,"core::iter::traits::collect"],[506,"core::fmt"],[507,"core::fmt"],[508,"alloc::vec"],[509,"zeroize"],[510,"core::result"],[511,"core::any"],[512,"core::option"],[513,"zbus::message_header"],[514,"zbus::message"],[515,"zbus::error"],[516,"zbus::error"],[517,"zbus::fdo"],[518,"zvariant::error"],[519,"zbus_names::error_name"],[520,"zvariant::object_path"],[521,"futures_core::stream"],[522,"zvariant::object_path"],[523,"zvariant::signature"],[524,"core::convert"],[525,"zbus::proxy"],[526,"zbus::connection"],[527,"serde::ser"],[528,"std::path"],[529,"alloc::string"]],"d":["Secret Service error.","Contains the error value","The error type for oo7.","A generic secret with a label and attributes.","A key.","A Secret Service or file backed keyring implementation.","Contains the success value","File backend error.","Alias for std::result::Result
with the error type Error
.","","","Retrieve the item attributes.","","","","","","","","","Create a new item.","The UNIX time when the item was created.","A Secret Service implementation.","Remove items that matches the attributes.","Delete the item.","","","","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Whether the item is locked or not","Checks whether the application is sandboxed or not.","Retrieve all the items.","The item label.","Lock the used collection if using the Secret service.","Lock the item","Helper to migrate your secrets from the host Secret Service","The UNIX time when the item was modified.","Create a new instance of the Keyring.","File backend implementation backed by the Secret portal.","Find items based on their attributes.","Retrieves the stored secret.","Sets the item attributes.","Sets the item label.","Sets a new secret.","","","","","","","","","","","","","","Unlock the used collection if using the Secret service.","Unlock the item","","","","","","","A collection allows to store and retrieve items.","The default collection alias.","The item/collection was removed.","The prompt request was dismissed.","DBus backend specific errors.","Input/Output.","Collection/Item is locked.","A secret with a label and attributes to identify it.","Session does not exist.","Collection/Item does not exist.","The collection doesn’t exists","A session collection.","The entry point of communicating with a …","A service error.","DBus Secret Service specific errors. …","ZBus specific error.","Something went wrong on the wire.","Barebone DBus API of the Secret Service specifications.","Retrieve the item attributes.","","","","","","","","","","","Get a list of all the available collections.","Create a new collection.","Create a new item on the collection","","The UNIX time when the item was created.","The UNIX time when the collection was created.","Retrieve the default collection.","Delete the item.","Delete the collection.","","Create a new instance of the Service with encrypted …","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","","","","Returns the argument unchanged.","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Get whether the item is locked.","Get whether the collection is locked.","Retrieve the list of available Item
in the collection.","The item label.","The collection label.","Lock the item.","Lock the collection.","The UNIX time when the item was modified.","The UNIX time when the collection was modified.","","Create a new instance of the Service, an encrypted …","Returns item path","Create a new instance of the Service with plain algorithm.","Stream yielding when existing items get changed","Stream yielding when new items get created","Stream yielding when existing items get deleted","Search for items based on their attributes.","Retrieve the currently stored secret.","Update the item attributes.","Set the item label.","Set the collection label.","Modify the stored secret on the item.","","","","","","","","","","","","","","","","","","Unlock the item.","Unlock the collection.","","","","","","Find a collection with it alias.","Find a collection with it label.","","","","","","","A common trait implemented by objects that can be locked …","","","","","","","","","","","","","","","","","Content type of the secret","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","","","","","","","","","","","","","","","Algorithm dependent parameters for secret value encoding","","","","","","","","","","","","","","","","","Session used to encode the secret","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Possibly encoded secret value","","","","","","","","Portal request has been cancelled.","File backend specific errors.","File header does not match FILE_HEADER
.","Bytes don’t have the expected GVariant format.","Failure to validate the attributes.","All information that is available about an invalid (not …","The addressed index does not exist.","Input/Output.","An item stored in the file backend.","Avoid attack on existing files","File backed keyring.","Unexpected MAC digest value.","No data behind header and version bytes.","XDG_DATA_HOME required for reading from default location.","No Parent directory.","Just not secure enough to store password","Portal DBus communication error.","If the portal is not available on the host. Can happen if …","Mismatch between array length and length explicitly stored …","Avoid attack on existing files","Secret retrieved from the XDG secret portal.","Should not occur","Target file has changed.","Version bytes do not match MAJOR_VERSION
or MINOR_VERSION
.","Key for some reason too weak to trust it for writing","Details about why an encryption key is consider too weak …","GNOME Keyring file format low level API.","Retrieve the item attributes.","","","","","","","","","","","","","","","","","Create a new item","The UNIX time when the item was created.","Delete an item.","Deletes item at the given index.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Retrieve the list of available Item
s.","The item label.","Load from a keyring file.","Load from default keyring file","Find the first item matching the attributes.","The UNIX time when the item was modified.","Retrieve the number of items","Replaces item at the given index.","Search items matching the attributes.","Retrieve the currently stored secret.","","Update the item attributes.","Set the item label.","Store a new secret.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Write the changes to the keyring file.","","","An encrypted attribute value.","Logical contents of a keyring file","","","","","","","","","","","","","","","","Write to a keyring file","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self)
.","Calls U::from(self)
.","","","","","","","","","","","","","","","","","","",""],"i":[16,7,0,0,0,0,7,16,0,1,1,4,16,1,8,4,16,1,8,4,8,4,0,8,4,1,1,1,16,16,1,8,4,16,16,16,1,1,8,4,16,1,8,4,4,0,8,4,8,4,0,4,8,0,8,4,4,4,4,16,16,1,8,4,16,1,8,4,16,1,8,4,8,4,16,1,8,4,0,1,0,0,19,19,0,19,30,0,30,30,19,0,0,19,0,30,19,0,26,26,30,19,27,28,26,30,19,27,28,27,27,28,30,26,28,27,26,28,30,27,26,30,30,19,19,27,28,26,30,30,19,19,19,19,19,19,27,28,26,30,19,27,28,26,28,28,26,28,26,28,26,28,30,27,26,27,28,28,28,28,26,26,26,28,26,30,19,26,30,19,27,28,26,30,19,27,28,26,30,19,27,28,26,28,26,30,19,27,28,27,27,0,0,0,0,0,0,0,43,44,47,43,44,48,46,45,47,43,44,48,46,45,45,46,48,46,47,47,43,47,43,44,44,48,47,43,44,48,46,45,43,47,43,44,48,46,45,44,44,47,43,44,48,46,45,43,47,43,46,45,47,43,44,48,46,45,47,43,47,47,43,44,46,47,43,47,43,46,45,46,48,46,46,46,46,47,47,47,47,46,43,46,47,43,44,48,45,48,46,43,47,43,43,47,43,44,48,46,45,47,43,44,48,46,45,47,43,44,48,46,45,47,43,44,48,46,45,46,48,47,43,44,48,46,45,48,20,0,20,20,20,0,20,20,0,60,0,20,20,20,20,60,20,20,20,60,0,60,20,20,20,0,0,58,20,64,60,58,63,61,20,64,60,58,63,61,60,58,60,58,61,58,61,61,63,58,58,58,63,58,20,20,64,64,60,60,58,63,61,20,20,20,20,20,64,60,58,63,63,61,20,64,60,58,63,61,61,58,61,61,61,58,61,61,61,58,58,58,58,58,58,60,58,20,64,60,20,64,60,58,58,63,61,20,64,60,58,63,61,20,64,60,58,63,61,20,64,60,58,63,61,61,58,63,0,0,59,59,68,59,68,59,59,68,59,68,59,68,59,68,59,68,59,68,59,68,59,59,59,68,59,68,68,68,68,68,59,68,59,68,59,59,68,68,59,68,59,68,59,68,59],"f":"`````````{b{{f{d}}}}0{h{{n{{l{jj}}}}}}{ce{}{}}0000000{{A`Ab{l{AbAb}}cAd}{{n{Af}}}{{Ah{{f{d}}}}}}{h{{n{Aj}}}}`{{A`{l{AbAb}}}{{n{Af}}}}{h{{n{Af}}}}{bAf}{ce{}{{An{Al}}}}0{{B`Bb}Bd}0{{bBb}Bd}{{A`Bb}Bd}{{hBb}Bd}{BfB`}{BhB`}{cc{}}{Bjb}111>>>>{h{{n{Ad}}}}{{}Ad}{A`{{n{{Bl{h}}}}}}{h{{n{j}}}}{A`{{n{Af}}}}?{{{Bl{{l{AbAb}}}}Ad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dc}AfHd}{{Gdc}Af{{Ah{{f{d}}}}}}{{}Fd}??{cj{}}00{c{{C`{e}}}{}{}}000{{{f{d}}}{{C`{GdBh}}}}11111111{cCb{}}00000{ce{}{}}00000{Gj{{C`{AfBh}}}}{GdAf}{GnAf}``{GfAb}4444{GfGf}{{ce}Af{}{}}{{}{{C`{HfBh}}}}{Gfc{}}{{HhGn}b}{c{{C`{Gf}}}Fb}{c{{C`{Hh}}}Fb}{c{{C`{Dj}}}{{Ff{Fd}}}}0{GfAf}{{Hhc{Cj{Hj}}}{{C`{AfBh}}}{{Ah{Hb}}}}{cFd{}}0{{GfBb}Bd}{{HhBb}Bd}{Hlc{}}{cGfHd}{cc{}}0{ce{}{}}0{{Hh{f{d}}}{{C`{AfGh}}}}{{Hh{l{ce}}b}{{C`{{Cj{Gd}}Bh}}}{{Ah{Ab}}}{{Ah{Ab}}}}{{Hh{l{ce}}b}{{C`{AfBh}}}{{Ah{Ab}}}{{Ah{Ab}}}}{{Hh{l{ce}}b}{{C`{{Bl{Gd}}Bh}}}{{Ah{Ab}}}{{Ah{Ab}}}}{{Gfc}C`Gb}{{Hhc}C`Gb}{{}Fd}07{c{{C`{e}}}{}{}}{{{f{d}}}{{C`{HhBh}}}}111{cCb{}}0::{GfAf}","c":[],"p":[[5,"Key",0],[1,"u8"],[1,"slice"],[6,"Item",0],[5,"String",501],[5,"HashMap",502],[8,"Result",0],[6,"Keyring",0],[1,"str"],[1,"bool"],[1,"unit"],[10,"AsRef",503],[5,"Duration",504],[1,"char"],[10,"FromIterator",505],[6,"Error",0],[5,"Formatter",506],[8,"Result",506],[6,"Error",80],[6,"Error",326],[5,"OwnedValue",507],[5,"Vec",508],[5,"Zeroizing",509],[6,"Result",510],[5,"TypeId",511],[5,"Item",80],[5,"Service",80],[5,"Collection",80],[6,"Option",512],[6,"ServiceError",80],[5,"MessageHeader",513],[5,"Message",514],[8,"Result",515],[6,"Error",515],[5,"Error",516],[6,"Error",517],[6,"Error",518],[5,"ErrorName",519],[5,"ObjectPath",520],[17,"Item"],[10,"Stream",521],[5,"OwnedObjectPath",520],[5,"Item",191],[5,"Properties",191],[5,"Session",191],[5,"Service",191],[5,"Collection",191],[5,"Secret",191],[10,"Deserializer",522],[5,"Signature",523],[10,"TryInto",503],[10,"Hasher",524],[5,"Proxy",525],[10,"Unlockable",191],[5,"Connection",526],[1,"tuple"],[10,"Serializer",527],[5,"Item",326],[5,"AttributeValue",454],[6,"WeakKeyError",326],[5,"Keyring",326],[1,"usize"],[5,"Secret",326],[5,"InvalidItemError",326],[5,"Path",528],[10,"ToString",501],[5,"PathBuf",528],[5,"Keyring",454],[5,"SystemTime",529],[1,"never"]],"b":[[28,"impl-Display-for-Error"],[29,"impl-Debug-for-Error"],[33,"impl-From%3CError%3E-for-Error"],[34,"impl-From%3CError%3E-for-Error"],[121,"impl-Display-for-ServiceError"],[122,"impl-Debug-for-ServiceError"],[123,"impl-Debug-for-Error"],[124,"impl-Display-for-Error"],[130,"impl-From%3CError%3E-for-Error"],[131,"impl-From%3CError%3E-for-Error"],[132,"impl-From%3CError%3E-for-Error"],[134,"impl-From%3CError%3E-for-Error"],[135,"impl-From%3CServiceError%3E-for-Error"],[380,"impl-Display-for-Error"],[381,"impl-Debug-for-Error"],[382,"impl-Debug-for-InvalidItemError"],[383,"impl-Display-for-InvalidItemError"],[384,"impl-Debug-for-WeakKeyError"],[385,"impl-Display-for-WeakKeyError"],[390,"impl-From%3CError%3E-for-Error"],[391,"impl-From%3CError%3E-for-Error"],[392,"impl-From%3CError%3E-for-Error"],[393,"impl-From%3CWeakKeyError%3E-for-Error"]],"a":{"collectionchanged":[272],"collectioncreated":[273],"collectiondeleted":[274],"createcollection":[215],"createitem":[216],"getsecret":[280],"getsecrets":[281],"itemchanged":[275],"itemcreated":[276],"itemdeleted":[277],"locked":[144,256,257],"opensession":[269],"org.freedesktop.secret.collection":[191],"org.freedesktop.secret.item":[192],"org.freedesktop.secret.session":[196],"org.freedesktop.secrets":[195],"readalias":[271],"searchitems":[278,279],"setalias":[288],"setsecret":[164,292]}}]\
]'));
if (typeof exports !== 'undefined') exports.searchIndex = searchIndex;
else if (window.initSearch) window.initSearch(searchIndex);
diff --git a/src/oo7/portal/mod.rs.html b/src/oo7/portal/mod.rs.html
index f971c2a7a..afaedad33 100644
--- a/src/oo7/portal/mod.rs.html
+++ b/src/oo7/portal/mod.rs.html
@@ -410,6 +410,8 @@ Files
408
409
410
+411
+412
//! File backend implementation backed by the [Secret portal](https://flatpak.github.io/xdg-desktop-portal/#gdbus-org.freedesktop.portal.Secret).
//!
//! ```no_run
@@ -617,20 +619,22 @@ Files
attributes: HashMap<&str, &str>,
secret: impl AsRef<[u8]>,
replace: bool,
- ) -> Result<(), Error> {
- {
- let mut opt_key = self.key.write().await;
- let key = self.derive_key(&mut opt_key).await;
- let mut keyring = self.keyring.write().await;
- if replace {
- keyring.remove_items(&attributes, key)?;
- }
- let item = Item::new(label, attributes, secret);
- let encrypted_item = item.encrypt(key)?;
- keyring.items.push(encrypted_item);
- };
- self.write().await
- }
+ ) -> Result<Item, Error> {
+ let mut opt_key = self.key.write().await;
+ let key = self.derive_key(&mut opt_key).await;
+ let mut keyring = self.keyring.write().await;
+ if replace {
+ keyring.remove_items(&attributes, key)?;
+ }
+ let item = Item::new(label, attributes, secret);
+ let encrypted_item = item.encrypt(key)?;
+ keyring.items.push(encrypted_item);
+
+ match self.write().await {
+ Err(e) => Err(e),
+ Ok(_) => Ok(item),
+ }
+ }
/// Replaces item at the given index.
///