Comments (6)
I just tested it and if I authorize the site in nos2x-fox for like 5 minutes, I can decrypt messages for 5 minutes without the popup being brought up. Just as intended.
Did I understand your request correctly?
from nos2x-fox.
This is a feature request.
noStrudel dev had it such that you had to click on each message to decrypt it and only recently added support to decrypt all messages at once and his reason was that he wants control over what his extension decrypts but that comes at the cost of a horrible UI for users that want messages to decrypt always.
Currently the nip07 api does not allow the client dev to figure out if decrypt would open a popup or not but if there was, the client dev could decrypt by default if no popup was involved and show the "decrypt" button else.
I thinkthought the most elegant way of achieving such an API extension would be to add a parameter as described above but now I think it should be a separate call as the caller wouldn't know if it's supported else.
from nos2x-fox.
Let me see if I understand it correctly:
You want the client site to know if the user "trusts" or "authorized" the site for decryption so instead of displaying the "Decrypt" button, it can just decrypt all directly without user interaction. Is that right?
Or does the site still display the "Decrypt" button in all cases? Because this last scenario is whats already happening. I kept clicking "Decrypt" and saw all messages being decrypted without getting a single popup (because I authorized once).
I'm guessing you're talking about the first scenario.
from nos2x-fox.
The first, yes. I want NoStrudel to not show decrypt buttons if decrypt works non-interactively.
from nos2x-fox.
I wonder if revealing this information to a site could have negative consequences. I mean, letting the site find out if I have authorized some action automatically. The site could take advantage of this.
from nos2x-fox.
Yeah, I thought of that, too. The plugin could still track or even show what's going on so it could at least prevent it from happening secretly. Some toast "decrypted 12 messages" ...
from nos2x-fox.
Related Issues (20)
- Improving security with manual approval code for each sign? HOT 1
- Support of multiple keys for using the extension with multiple identities HOT 1
- [Feature Req] Allowlist certain specific types or kinds of requests HOT 1
- how to determine when window.nostr is available HOT 2
- [FEATURE REQUEST] Private Key Masking HOT 2
- The logo is invisible on my FF HOT 3
- Permissions not showing in Options HOT 3
- Failed to save a key with version 1.12.0 HOT 1
- Unable to Export profile HOT 2
- [Feature Request] Master password HOT 1
- Extension can easily flood the user with popups HOT 6
- will this be available for android? HOT 4
- Name a Profile HOT 1
- Closing the prompt window doesn't reject events HOT 1
- Add nip44 support HOT 2
- Record history of authorizations and operations
- Better user friendly identification of "kind" in prompt
- [Bug] Receive Saved relays! green message too often HOT 1
- Throw error when event pubkey does not match
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nos2x-fox.