-
Notifications
You must be signed in to change notification settings - Fork 75
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
Streamed signing and archiving #40
Comments
@oncletom maybe something like i did here: https://github.com/ahwayakchih/crx3/blob/master/lib/crx3stream.js In short: implement WriteStream, that simply updates sign and passes data to file (after leaving enough space for a header data), but at the end it finishes creating CRX header and writes it at the beginning of file. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
crypto.sign
apparently accepts ReadableStreamgeneratePackage
could return a stream instead of a Buffer objectThe entire archive must have been fully read to generate a valid signature, and read again (?) to emit a signed stream.
The text was updated successfully, but these errors were encountered: