Skip to content

setMasterPassword: Method "CreateItem" doesn't exist #1

@JKatzwinkel

Description

@JKatzwinkel

I felt lucky stumbling upon your secureStorage extension when I needed an implementation for an E4 project. Unfortunately, when it comes to using SecurePreferences and your LinuxProvider jumps in, it seems to fail to communicate over DBus, ultimatively resulting in a SecurityException:

!ENTRY org.eclipse.equinox.security 1 0 2015-01-08 15:37:33.302
!MESSAGE New secure storage master password was generated (DBus Secret Service integration module). 
process 5361: arguments to dbus_message_unref() were incorrect, assertion "message != NULL" failed in file dbus-message.c line 1395.
This is normally a bug in some application using the D-Bus library.

!ENTRY org.eclipse.equinox.security 4 0 2015-01-08 15:37:33.305
!MESSAGE Secure storage was unable to save the master password.
!STACK 0
java.lang.SecurityException: Error receiving message: org.freedesktop.DBus.Error.UnknownMethod: Method "CreateItem" with signature "a{sv}(oayays)b" on interface "org.freedesktop.Secret.Collection" doesn't exist

at org.eclipse.equinox.internal.security.linux.LinuxProvider.setMasterPassword(Native Method)
at org.eclipse.equinox.internal.security.linux.LinuxProvider.createAndStorePassword(LinuxProvider.java:86)
at org.eclipse.equinox.internal.security.linux.LinuxProvider.getPassword(LinuxProvider.java:65)

I have libdbus-1-dev and libdbus-1-3 installed, both version 1.2.16-2ubuntu4.8. My eclipse's Equinox security package is in version 1.2.0.v20130424-1801.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions