Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

[BUG] Root .gpg-id is ignored (missing key for encryption %s) #1519

@svvac

Description

@svvac

Describe the bug

When generating a new password in a subfolder that does not have a .gpg-id, the root $PASSWORD_STORE_DIR/.gpg-id is ignored and the app reports the following error:

Error from OpenKeyChain: missing key for encryption %s

This only seems to apply to the root id file ; nested .gpg-id appear to work.

Steps to reproduce

  1. Create a new root folder test without setting gpg key
  2. Attempt to create a new password in test
  3. The error appears

If instead :

  1. Create a new root folder test and set gpg key
  2. Create subfolder test/test2
  3. Attempt to create a new password test/test2
  4. The password is sucessfully saved

Expected behavior

Should properly fallback to $PASSWORD_STORE_DIR/.gpg-id

Screenshots

No response

Device information

  • OS: Android 11
  • App version 1.13.5

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-PGPArea: OpenKeychain-backed PGPC-bugCategory: This is a bugE-mediumEffort: This requires a fair amount of workP-mediumPriority: mediumS-needs-reproduction-stepsStatus: This problem hasn't been reproduced by the teamS-unactionableStatus: There is not enough information to act on this problem

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions