Skip to content

disable password-protected messages if FES is not used #1621

Closed

Description

@DenBond7
No description provided.

Activity

  1. tomholub commented on Dec 24, 2021

    @tomholub
    Collaborator

    As mentioned in #1620 (comment) , we will be merging the functionality in bits an pieces and it will only be enabled for senders on flowcrypt.com domain where we know that FES is running.

    Once it's all done and tested and merged, this will be the last issue to do: remove the flowcrypt.com sender restriction, and instead allow the functionality when the user has FES running, otherwise disable it.

    On browser extension, during initial setup and when re-fetching client configuration, we store a boolean in local storage, for that user account, to indicate if FES is available. If it is, we never try to get client configuration from flowcrypt.com/api anymore - we always get it from FES going forward.

    This boolean is also used when deciding if password protected messages are available.

  2. DenBond7 commented on Jan 24, 2022

    @DenBond7
    CollaboratorAuthor

    @tomholub I'd like to clarify one moment. When do we know that we use FES? When do we have a successful response for "https://fes.{domain}/api/"? like

    {
       "vendor":"FlowCrypt",
       "service":"enterprise-server",
       "orgId":"flowcrypt.com",
       "version":"2022-03",
       "endUserApiVersion":"v1",
       "adminApiVersion":"v1"
    }
    

    Or should I check some value in this response?

  3. tomholub commented on Jan 24, 2022

    @tomholub
    Collaborator

    Here #1202 (comment)

    https://fes.{domain}/api/ has to return status 200 that includes service that equals enterprise-server.

  4. added a commit that references this issue on Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions