Skip to content

test enterprise missing pubkey - do not allow to proceed #768

Description

@tomholub

this issue depends on #767 being fixed first. When fixed, try the following:

  1. log in
  2. choose to import key
  3. import a key, enter pass phrase, click ok
  4. now the key should be submitted to Attester

If attester call is successful, proceed to inbox. If attester call is not successful (any response that is not 2xx OR contains error field in json response is considered an error), then you decide based on presence of ENFORCE_ATTESTER_SUBMIT org rule.

  • if ENFORCE_ATTESTER_SUBMIT is set, you show a retry button and NOT finish setting up account (saving keys to storage, etc) until user has submitted to attester successfuly
  • if ENFORCE_ATTESTER_SUBMIT is not set, you can ignore the attester submit error

To test the situation when attester returns error and ENFORCE_ATTESTER_SUBMIT is in place, use account no.pub@org-rules-test.flowcrypt.com (will send credentials)

To test situation when attester returns error and ENFORCE_ATTESTER_SUBMIT is not set, use account attester.submit.error@test.flowcrypt.com (will send credentials)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions