-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New SEA features! (many new features) #1400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…k.pub, for WebAuthn support
…signature handling
…ponding unit test
|
@akaoio @mimiza w000000000 just landed back home, sorry GitHub doesn't notify me anymore. This looks awesome, let's jump on a call to review? DM me on twitter or telegram or whatsapp? (actually, starting a new GUN dev chat on twitter would like to add you to!) console.log gonna stay until I'm not poor :P |
|
just finished doing a screen call with you, making a temporary branch to merge and refactor a few things then will review with you again. Awesome work, MIND BLOWING were able to finally get WebAuthn to sign data, this'll be epic. Please pester to finish the refactor & merging. |
|
Yeah glad we finally made one step closer to the big merge |
Hello Mark. I'm your old buddy mimiza, it's been a long time. I made some new COOL features:
New features:
Feature 1: Implemented globalThis to make gun, sea work better in Web Worker threads with type=module (es6).
Feature 2: Create a deterministic key pair from a given seed
Feature 3: Create a deterministic key pair from a given private key
Feature 4: Put to user graph without having to be authenticated (provide pair):
Feature 5: Put to user graph using external authenticator (nested SEA.sign):
Feature 6: SPECIALS! WebAuthn support: SEA now also support webauthn passkeys. It requires realtime user interaction on browser, so it is impossible to write Nodejs unit tests. So I wrote examples in /examples/webauthn.html and /examples/webauthn.js . User can now put to their gun graph using their webauthn passkey public key and realtime signature.
WebAuthn usage (read the example files for deeper understanding):
I also fixed the http.js in examples because it crashes on Windows so often. I removed the "hello people" console.log in gun.js, it's annoying, sorry bro.