Skip to content

v0.3.1

Latest

Choose a tag to compare

@nikicat nikicat released this 11 May 11:41
c03243b

Changes since v0.3.0

  • fix: export the org.freedesktop.Secret.Item interface for every D-Bus path returned to clients. SearchItems, CreateItem(replace=true), and Collection.getItemPaths computed paths from the store but never bound them to the Item interface. Whenever the in-memory ItemManager diverged from the on-disk store — after a service restart, an external gopass write, or CreateItem(replace=true) — clients calling Item.GetSecret on a discovered path got Object does not implement the interface 'org.freedesktop.Secret.Item'. Added ItemManager.EnsureExported and called it from every leak site.
  • fix: make Collection properties (Items, Label, Locked, Created, Modified) live. They were set once at export time via prop.Export and only refreshed on D-Bus-driven add/delete events, so items added externally were invisible to subscribers and to GetProperty callers. Replaced the cached prop.Properties with a custom collectionPropsHandler that reads from the store on every Get; PropertiesChanged is still emitted manually from CreateItem and setLabel.

Note: previously released as v0.2.1 by mistake (lower version number than v0.3.0 even though the commit is a descendant). v0.3.1 points to the same commit (c03243b) and supersedes it.

Full Changelog: v0.3.0...v0.3.1