keyman icon indicating copy to clipboard operation
keyman copied to clipboard

Password is not copied to clipboard after keyring was deleted

Open dpoetzsch opened this issue 7 years ago • 4 comments

This seems to be the error:

JS ERROR: Exception in callback for signal: activate: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface 'org.freedesktop.Secret.Item' on object at path /org/freedesktop/secrets/collection/important_5fpasswords_20_28sunlight_27s_20conflicted_20copy_202017_2d11_2d28_29/2
_proxyInvoker@resource:///org/gnome/gjs/modules/overrides/Gio.js:94:16
_makeProxyMethod/<@resource:///org/gnome/gjs/modules/overrides/Gio.js:124:16
KeyringConnection.prototype._getSecret@/home/dph/.local/share/gnome-shell/extensions/[email protected]/keyringDbus.js:253:30
KeyringConnection.prototype.getSecretFromPath/<@/home/dph/.local/share/gnome-shell/extensions/[email protected]/keyringDbus.js:283:17
KeyringConnection.prototype.unlockObject@/home/dph/.local/share/gnome-shell/extensions/[email protected]/keyringDbus.js:308:17
KeyringConnection.prototype.getSecretFromPath@/home/dph/.local/share/gnome-shell/extensions/[email protected]/keyringDbus.js:282:13
KeyMan<._copySecret@/home/dph/.local/share/gnome-shell/extensions/[email protected]/keyman.js:164:9
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
KeyMan<._createSecretMenuItem/<@/home/dph/.local/share/gnome-shell/extensions/[email protected]/keyman.js:170:13
_emit@resource:///org/gnome/gjs/modules/signals.js:126:27
PopupBaseMenuItem<.activate@resource:///org/gnome/shell/ui/popupMenu.js:166:9
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
PopupBaseMenuItem<._onButtonReleaseEvent@resource:///org/gnome/shell/ui/popupMenu.js:127:9
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22

dpoetzsch avatar Jan 15 '18 09:01 dpoetzsch

Ah, this happens if a keyring disappeared (in this case it was explicitly deleted) but the entry is still in keyman's history.

dpoetzsch avatar Jan 15 '18 09:01 dpoetzsch

This happens for me now too on Gnome 3.32 (Fedora 30) after I've locked my screen and unlock it again. For some reason it doesn't put passwords in the clipboard anymore after that.

When I lock the keyring and then unlock it again it works again.

But then when I lock the screen again, again it doesn't work anymore.

I see this error in journalctl -xe:

JS ERROR: Exception in callback for signal: activate: Gio.IOErrorEnum: GDBus.Error:org.freedesktop.S>
_proxyInvoker@resource:///org/gnome/gjs/modules/overrides/Gio.js:138:41
_makeProxyMethod/<@resource:///org/gnome/gjs/modules/overrides/Gio.js:164:16
KeyringConnection.prototype._getSecret@/home/rpkamp/.local/share/gnome-shell/extensions/keyman@dpoetz>
KeyringConnection.prototype.getSecretFromPath/<@/home/rpkamp/.local/share/gnome-shell/extensions/keym>
KeyringConnection.prototype.unlockObject@/home/rpkamp/.local/share/gnome-shell/extensions/keyman@dpoe>
KeyringConnection.prototype.getSecretFromPath@/home/rpkamp/.local/share/gnome-shell/extensions/keyman>
_copySecret@/home/rpkamp/.local/share/gnome-shell/extensions/[email protected]/keyman.js:15>
_createSecretMenuItem/<@/home/rpkamp/.local/share/gnome-shell/extensions/[email protected]/>
_emit@resource:///org/gnome/gjs/modules/signals.js:142:27
activate@resource:///org/gnome/shell/ui/popupMenu.js:167:9
_onButtonReleaseEvent@resource:///org/gnome/shell/ui/popupMenu.js:118:9

rpkamp avatar Jun 04 '19 13:06 rpkamp

I've fixed the bug I've described above in #6

rpkamp avatar Jun 08 '19 09:06 rpkamp

These are two separate issues leading to the same symptom. I split your issue to #7

dpoetzsch avatar Jun 15 '19 21:06 dpoetzsch