aboutsummaryrefslogtreecommitdiffstats
path: root/packages/renderer/src/components/locationBar/SecurityLabel.tsx
Commit message (Collapse)AuthorAge
* refactor(renderer): Location bar security labelLibravatar Kristóf Marussy2022-03-06
Since electron doesn't have an API to extract the current certificate, except in the case of certificate errors, there's no point in making the security warning / padlock icon clickable. We instead display a plain icon and a warning message. We will later display the certificate details in case of a validation error (when we have access to the certificate) as part of an error message. Also makes the security labels more visible to people with protanopia who use the dark mode of the UI. Signed-off-by: Kristóf Marussy <kristof@marussy.com>