You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
disable password-protected messages if FES is not used #1621
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.
Activity
tomholub commentedon Dec 24, 2021
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.
DenBond7 commentedon Jan 24, 2022
@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/"? likeOr should I check some value in this response?
Disabled password-protected messages for accounts if FES is not used.…
tomholub commentedon Jan 24, 2022
Here #1202 (comment)
https://fes.{domain}/api/has to return status200that includesservicethat equalsenterprise-server.Fixed and updated tests.| #1621
Disabled password-protected messages for accounts if FES is not used (#…