Comments (6)
This is cool, but we need it to be standardized so it works with all other Nostr clients. There are already some clients doing nsec encryption, and would be nice to get everybody to use the same algorithm before we implement anything.
from nos2x.
I don't like that at all. Having parameters in the encryption thing just forces everybody to implement all possible parameters.
from nos2x.
I guess yes.
I had forgotten about this issue.
from nos2x.
nice, in private qrcode I'm using an encode that allows me to parameterize which algorithm is being used:
encrypted:[algorithm]?[args];[cypher]
encrypted: identify the string as encrypted encode
algorithm: algorithm name
args: algorithm arguments
cypher: cypher, encrypted content
Example
encrypted:aes?iv=249704f119c3d09e4e0fb3b6a275e519;U2FsdGVkX1/mxOv5WpmRGHXZouip6GOw+P+Jdks6c1Z/uMfwBl7Me+dzJjioF72z9E+bKY/GlcL8HlWnWrs7fTlqVvzmsC3b2dm+JfL2rTH+60dNlk6PJ+41pLRDWA/l
See if this idea can contribute to this standardization
from nos2x.
Nostr can support a single one algorithm with standardized parameters, this encode helps, if the future demands it, to add new algorithms and parameters keeping backwards compatibility.
My suggestion of encrypted encode is inspired by the data url specification (the parameters idea I got from NIP4):
data:[<mediatype>][;base64],<data>
data:text/plain,Hello%20World
As I said before, I am available to implement this feature to your plugin if you wish, following your decisions.
from nos2x.
So, NIP49 implementation is the standardized way to solves this?
from nos2x.
Related Issues (20)
- relays’s input‘s bug HOT 1
- Can I manage my private key. Easily add and remove.
- How do nostr: links work? HOT 2
- Error with Yarn HOT 2
- support delegated event signing NIP-26
- Firefox: Can't save private key HOT 2
- Support for master password HOT 5
- CSS improviments HOT 2
- no license field error on build HOT 1
- read relays from metadata.nostr.com and allow saving to extension db
- I'm able to get the nos2x extension on my chrome. However, could'nt get it to log in to Toastr.space as error shows undefined. HOT 1
- unable to revoke allow policies HOT 1
- multiple profile support HOT 1
- key import HOT 1
- Denying load / Resources must be listed in the web_accessible_resources manifest key HOT 4
- [Feature Request] Simplify Relay URL Entries
- [Feature Request] Store the nsec as ncryptsec HOT 5
- [Feature Request] Store multiple nsec HOT 2
- Problem with webextension-polyfill HOT 2
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.