atom / node-keytar

Native Password Node Module

Home Page:https://atom.github.io/node-keytar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`FindCredentials` call on Linux without unlocking the key store crashes

jsimonet opened this issue · comments

Prerequisites

Some prerequisites are not applicable since I did not used Atom to develop the fix and check for testing.

Description

FindCredentials call on Linux without unlocking the key store crashes.

  (process:280213): libsecret-CRITICAL **: 16:09:20.426: secret_value_get_text: assertion 'value' failed

Steps to Reproduce

  1. Ensure the key store is locked
  2. call FindCredentials
  3. Click on "Cancel" when password is asked for unlocking the keystore

Expected behavior:

A crash does not happens.

Actual behavior:

A crash does happens.

Reproduces how often:

100% of the time.

Versions

Not using Atom for testing, using another Electron application.

Linux Manjaro Release: 22.0.0.

Additional Information