Description
Bug report
Steps to reproduce
- add credential through api
- login into vault
- 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.