Closed vibornoff closed 8 years ago
Won't allow this project to have dependencies. Please create two pull requests: (1) with the 12 octet modification, (2) with the IE11 fix without dependencies.
What do you mean "without dependencies"? Should I remove git dependency only or it would be better to add core-js/shim.min.js and mscrypto-adapter.js copies?
Yes, please remove shim.min.js and mscrypto-adapter.js. No outside scripts should be depended on to run these examples.
Note that IE11 implements deprecated version of the Web Crypto API spec. It doesn't rely on Promises and it has a bit different parameters/return values syntax for at least AES-GCM (see mscrypto-adapter code for more details). So it's mandatory to have both the Promise implementation and the Web Crypto API adapter to make IE11 work properly.
This is a live table showing support for the standard, so if IE11 doesn't implement the standard, it should fail the test.
Ok, it's up to you.
Additionally, AES-GCM iv parameter length is restricted to 12 octets