-
Notifications
You must be signed in to change notification settings - Fork 91
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
More subtle implementations #211
Conversation
@ospfranco halp! Can you help me understand the two return values of |
I don't have that much time to look into the entire thing, but |
771fdc9
to
5b76c49
Compare
hey |
It's possible. I need to get one working and fully-tested first. A lot of copied/commented code gets activated for each exported function, so I'll take an inventory when done and see how hard it would be. 🤞 |
@Szymon20000 @ospfranco I'm done with two tasks (see description), but this feels like an already-too-big PR. Maybe it will look better after #200 is merged, but I'd like some guidance. I can break up the other tasks into discrete PRs if you would like. I may also overhaul the test rig to be a bit closer to Node's fixture-based one. 🙏 let me know, thx! |
12b16a5
to
7fdd1e8
Compare
@boorad Looks good to me. |
@Szymon20000 I did check, and kept track in a Discord thread. It's the same before and after, save for my new test on But it got me thinking, and I have been poking around on the test app to see if I can get some more stats/results to be visible and possibly published somewhere. |
Also, are you cool with the aliases used for |
* begin reworking test suites * dedicated hooks dir, eslint gha fix attempt * gha updates, fix lint issues from #211 * useRunTests hook working, still fighting mocha suites/tests * oops * consistent naming * fix android * update podfile.lock * fixed random,hash tests and upgraded chai * bump cocoapods version * bump GHA ruby version * install gems * more GHA/ios build fun * fix basic sign/verify test * comment out failing public cipher & sign/verify, fix generateKeyPair tests * cleanup * cpp lint * more github actions updates * finally the big re-work of tests * js lint * Test Results screen changes * docs and cleanup * better emojis for github * add/use test fixtures from Node.js * fix pbkdf2 deriveBits tests * quote github actions output correctly, duh * always more stragglers during self-review * ugh, more coffee --------- Co-authored-by: Szymon Kapała <[email protected]>
@ali-fs I'm accepting sponsorships through Github now. Not sure if you can sponsor or not, but this |
Adds more
crypto.subtle
method implementations by activating more of Node's C++ code and converting it to work with JSI.Plans:
importKey()
,raw
,PBKDF2
(More subtle implementations #211)importKey()
,raw | jwk
,AES-GCM
(Add support for subtle (importKey,exportKey) (raw,jwk) (aes,ec,rsa) #233)digest()
,PBKDF2
(Add support for subtle.digest() #225)deriveBits()
(More subtle implementations #211)decrypt()
,AES-GCM
(subtle.decrypt
foraes
#283)encrypt()
,AES-GCM
(subtle.encrypt
foraes
#285)This builds on #199 and #200 branches/commits.