Skip to content
This repository was archived by the owner on Dec 8, 2020. It is now read-only.
This repository was archived by the owner on Dec 8, 2020. It is now read-only.

Error when submitting encrypted keys for non-private sub-users' aliases #277

@wussler

Description

@wussler

When generating a key for a second or third (and so on) address for a non-private sub-user private key encryption is messed up.

Steps to reproduce:

  • Log in as txtspaceblue/12345 on v4.protonmail.blue
  • Navigate to the addresses settings panel
  • Add an alias (or more) to a non-private sub-user (e.g. daratst2)
  • Generate keys (any type is fine)
  • Navigate to the users panel
  • Click on the little drop down arrow next to it, then login
  • Get Incorrect key passphrase error

Important stuff:

  • On V3 keys are encrypted correctly
  • The error is in the encryption (right after generation), not in the retrieval, in fact the keys are stored wrong on the API.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions