Skip to content

Credetials created through api are not visible by passman front-end / extension #574

Open
@marcio199226

Description

@marcio199226

Bug report

Steps to reproduce

  1. add credential through api
  2. login into vault
  3. see "An error occurred during decryption" error

Expected behaviour

Once a credentials are created through api those credentials should will be visible in passman app / extension

Actual behaviour

Once created through api those credentials are not visible in browser extension neither in passman app (here once entered into some vault with credentials created through api we will experiencing a message during credentials enryption such as "An error occurred during decryption") from here https://github.com/nextcloud/passman/blob/master/js/app/controllers/credential.js#L78

Configuration

Operating system: any

Browser: any browser

Extensions that might cause interference:

Passman version: latest

Operating system: any

Web server:

Database:

PHP version: 7.x

cloud server: Nextcloud

cloud version: 15.x

An example of json for creating new vault credential

{
        'vault_id': 1,
        'label': 'label',
        'username': 'encrypted',
        'password': 'encrypted',,
        'hidden': false
}

NB:
If i call https://github.com/nextcloud/passman/blob/master/docs/api.md#get-vault-get i see correctly the previous created credentials through api


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions