13 Commits

Author SHA1 Message Date
akaoio
f0cce073a8
New SEA features! (many new features) (#1400)
* feat: create pair with seed, content addressing with shorter hash

* feat: create pair using priv/epriv

* optimize SEA.pair

* feat: globalThis along with window

* white labeling

* feat: add WebAuthn example and enhance SEA.sign, SEA.verify, SEA check.pub, for WebAuthn support

* feat: enhance WebAuthn integration with new put options and improved signature handling

* polish SEA.sign and SEA.verify

* feat: localize options in SEA.check.pub to enhance security and prevent attacks

* fix: correct destructuring of user object to enhance security in SEA

* rebuild SEA

* feat: support ArrayBuffer as seed for key pair generation in SEA

* test: add unit test for hashing ArrayBuffer in SEA

* fix: create deterministic key pair from seed

* fix: add missing B parameter for ECC curve and implement point validation

* feat: add ArrayBuffer support for hashing in SEA and implement corresponding unit test

* fix: convert numeric salt to string in PBKDF2 implementation

* fix: convert numeric salt option to string in PBKDF2 implementation

* improve hashing tests

* improve sea.work

* rebuild SEA

* improve SEA.work and rebuild SEA

* enhance SEA encryption handling and improve test coverage for SEA functions

---------

Co-authored-by: noname <x@null.com>
Co-authored-by: x <x@mimiza.com>
Co-authored-by: x <null>
Co-authored-by: noname <no@name.com>
2025-03-24 11:41:36 -07:00
Mark Nadal
638c2c3c23 have unbuild function wrap to prevent scope leaks & allow RETURN hehehe so I can reject @bmatusiak 's lS change O:) O:) I love you you're a hero!
later with @bmatusiak check sea.then for '../gun.js' vs '../' vs ...
note: src/index -> core.js
TODO: something about WebRTC candidates hitting ack decrement limits?
2024-01-17 10:13:00 -08:00
Hadar Rottenberg
f287887e87 fix: force use of isomorphiccrypto on react-native 2020-01-07 15:32:22 +02:00
Hadar Rottenberg
4619e57968 fix: unknown issue where global S object is modified, then sign doesnt work 2020-01-06 15:34:58 +02:00
Mark Nadal
8b7c963463 HUGE LEAP into THE SEA 2019-01-09 17:34:10 -08:00
Mark Nadal
ea302a9217 allow signing signed data + only do sign transform if new data from self else verify 2018-12-13 17:00:14 -08:00
Mark Nadal
16e64e1de5 MetaMask start, AXE start, SEA refactor, etc. 2018-11-17 13:17:16 -08:00
Mark Nadal
c16c41807e fix once, unbuild NAB fix 2018-09-23 01:44:45 -07:00
Mark Nadal
80a9a67d0b unbuild 2018-08-24 03:07:56 -07:00
Mark Nadal
703dd2f766 unbuild sea 2018-06-29 17:40:15 -07:00
Mark Nadal
1f332ac6dd add SEA options 2018-06-15 11:22:09 -07:00
Mark Nadal
a24febc7a4 BREAKING SEA CHANGES: AES-GCM !AES-CBC 2018-06-14 14:46:56 -07:00
Mark Nadal
be0de5cf56 migrate SEA, some improvement, some regression 2018-04-07 13:50:53 -07:00