52 Commits

Author SHA1 Message Date
Hadar Rottenberg
d681c5ca91 Merge remote-tracking branch 'origin/master' into pr/sirpy/12 2020-05-21 22:05:19 +03:00
Mark Nadal
985cfa2b4d build/unbuild 2020-05-01 19:13:13 -07:00
Hadar Rottenberg
5016298b45 fix: typo 2020-02-12 21:17:15 +02:00
Hadar Rottenberg
a72342431f add: update to use webview-crypto 2020-02-12 09:54:04 +02:00
Hadar Rottenberg
fd26e39acc Merge branch 'master' of https://github.com/amark/gun into amark-master 2020-02-09 22:28:42 +02:00
Hadar Rottenberg
dab91974c1 add: decrypt opposite of secret 2020-01-13 13:00:51 +02: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
sirpy
512d2c8c32
add: wait for once, so data is returned on first get (#6)
* add: wait for once, so data is returned on first get

* Update then.js
2019-12-08 17:49:48 +02:00
sirpy
29ed57e955
react native support (#5)
* WIP: use isomorphic-webcrypto for RN

* WIP: expo friendly exports

* WIP: buffer for RN

* WIP: textencoder for RN

* WIP: aeskey from jwk instead of raw for RN

* fix: missing taglength for msrcrypto

* add: update isomorphic-webcrypto

* add: match isocrypto api

* add: failing test for 4e2 as 400

* fix: remove extra atob btoa

* add: sea unbuild

* refactor: according to mhelander review

* refactor: shorter require

* fix: make bug test pass, capitlize bug test.

* fix: npm ci + sea test

* add: restore old browser export and add react-native friendly exports

* fix: import buffer into correct global/window

* fix: bad comparison

* fix: only include buffer if no btoa/atob
2019-12-08 17:41:26 +02:00
Hadar Rottenberg
b2709e2eb7 fix: only include buffer if no btoa/atob 2019-11-29 11:42:47 +02:00
Hadar Rottenberg
ef49a73e4a fix: bad comparison 2019-11-21 09:12:56 +02:00
Hadar Rottenberg
5172c38913 fix: import buffer into correct global/window 2019-11-21 08:29:40 +02:00
Hadar
8e7a5369cc refactor: according to mhelander review 2019-09-21 23:09:32 +03:00
Hadar
a6fc7fd5c5 add: sea unbuild 2019-09-18 00:22:10 +03:00
Hadar
6d798a136f Merge branch 'master' into rnsupport 2019-09-17 23:41:30 +03:00
Mark Nadal
99ed43f5c4 console.debug -> console.only & unbuild 2019-09-16 13:59:44 -07:00
Marcus Bernales
cf642b75d1 Brought back new changes 2019-09-14 13:20:21 -07:00
Marcus Bernales
7d7b11f9b8 Reset unnecessary prettier changes 2019-09-14 13:19:27 -07:00
Marcus Bernales
71e0be33f7 Switched to webcrypto 2019-09-14 12:56:48 -07:00
Hadar
0b31971678 WIP: aeskey from jwk instead of raw for RN 2019-09-11 09:46:08 +03:00
sirpy
597bb77a98
fix: Object.assign modiifies S.ecdh which should be static 2019-08-29 10:54:02 +03:00
Mark Nadal
9b820287d6 :( make sure test wasn't false not false positive :( for @go1dfish 2019-05-14 11:01:27 -07:00
Mark Nadal
124d0146c8 fix possible peer leak & add feature for @go1dfish 2019-05-14 00:45:04 -07:00
Mark Nadal
083c1c59f8 visualize memory 2019-05-10 12:47:04 -07:00
Mark Nadal
c5cd72a631 unbuild 2019-01-27 15:03:43 -08:00
Mark Nadal
8b7c963463 HUGE LEAP into THE SEA 2019-01-09 17:34:10 -08:00
go1dfish
cd0b12d1d2
OSSL Memory leak mitigation
Mitigates this leak: https://github.com/PeculiarVentures/node-webcrypto-ossl/issues/136
2019-01-04 06:03:22 -08:00
Mark Nadal
925aff8586 fix SEA shuffle to ignore good GUN data 2019-01-04 04:02:35 -08:00
Mark Nadal
a9aafa18eb monotype / normalize / for future meta editor stuff 2018-12-18 17:05:08 -08:00
Mark Nadal
34c880f1d5
Merge branch 'master' into sea 2018-12-14 14:47:15 -08:00
Levi Roberts
4b43c67e4a Fix for UTF8 fallback
Replicated the signature check in the try throw for base64. Needs verification.
2018-12-14 04:19:08 -06: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
Adriano Rogowski
688c9a84f9 SEA - fix typeof 2018-11-21 19:16:56 -02:00
Adriano Rogowski
9c3138a38f Merge https://github.com/amark/gun 2018-11-21 14:50:37 -02:00
Mark Nadal
16e64e1de5 MetaMask start, AXE start, SEA refactor, etc. 2018-11-17 13:17:16 -08:00
Elmar Langholz
c5dae7a1a4 Fix SEA sha1hash for ossl and keyid 2018-10-11 12:26:05 -07:00
rogowski
84557c7a4f
Update index.js
Please @amark confirm if this line (80) is really necessary.
This commit fix the issue #616
2018-10-02 19:42:33 -03:00
rogowski
fffec3cc63
Fixed 'do not handle lexical cursors' 2018-10-02 02:24:06 -03:00
Mark Nadal
c16c41807e fix once, unbuild NAB fix 2018-09-23 01:44:45 -07:00
rogowski
de3ea9fb6b
Merge branch 'master' into master 2018-09-06 21:33:42 -03:00
rogowski
f52aa41187
This condition must be true if data undefined
Data like null, 0, false, was falling in condition. 
But should not.

I think this problem is about issue #606
https://github.com/amark/gun/issues/606
2018-09-06 21:20:26 -03:00
Mark Nadal
8fff5e9a1f SEA & DAM fix 2018-08-29 15:03:27 -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
736a530bcc unbuild 2018-06-26 13:06:29 -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
c1c00595b8 secret, clean 2018-04-19 04:13:55 -07:00
Mark Nadal
be0de5cf56 migrate SEA, some improvement, some regression 2018-04-07 13:50:53 -07:00