Skip to content

Fix #251: Add option to disable signature verification#255

Merged
leplatrem merged 1 commit intomasterfrom
disable-signatures-collections
Jan 29, 2025
Merged

Fix #251: Add option to disable signature verification#255
leplatrem merged 1 commit intomasterfrom
disable-signatures-collections

Conversation

@leplatrem
Copy link
Contributor

@leplatrem leplatrem commented Jan 14, 2025

Fix #251

I am not convinced about the approach, but also can't think of anything better...

In Gecko, signature verification can be enabled/disabled at the collection object level.
From a DevTools/UI/UX point of view, I don't see any value in offering the option to enable/disable for each collection. So I decided to go for a global switch.

This has one small disavantage: user clicks disable. It's disabled for all instantiated clients. A new client is instantiated (manually or within a component firefox). It has signature enabled. UI shows enabled again. User has to click to disable again.

And also:

  • Fix apparence of new Option section below History
  • Do not use <div> but CSS to organize UI

@leplatrem leplatrem requested a review from alexcottner January 14, 2025 13:32
@alexcottner
Copy link
Contributor

alexcottner commented Jan 15, 2025

Running this locally, I think it seems fine.

I kept trying to think of a good way to combine this Options section with the Environment section since it's just one checkbox. Maybe call it "Configuration"?

Can approve after lint error is fixed.

@leplatrem
Copy link
Contributor Author

Screenshot 2025-01-27 at 17 59 50

@leplatrem leplatrem force-pushed the disable-signatures-collections branch from 552a8c0 to b95c6f6 Compare January 28, 2025 10:58
@leplatrem leplatrem force-pushed the disable-signatures-collections branch from b95c6f6 to 4a702e7 Compare January 28, 2025 11:00
@leplatrem leplatrem marked this pull request as ready for review January 28, 2025 11:00
@leplatrem
Copy link
Contributor Author

Screenshot 2025-01-28 at 12 00 57

@leplatrem leplatrem merged commit acdac56 into master Jan 29, 2025
8 checks passed
@leplatrem leplatrem deleted the disable-signatures-collections branch January 29, 2025 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a option to disable signature verification

2 participants