electron/shell
trop[bot] 8d76b8dba9
refactor: take a uint8_t span in ValidateIntegrityOrDie() (#43612)
refactor: take a uint8_t span in ValidateIntegrityOrDie()

Doing some groundwork for fixing unsafe base::File() APIs:

- Change ValidateIntegrityOrDie() to take a span<const uint8_t> arg.
  We'll need this to migrate asar's base::File API calls away from the
  ones tagged `UNSAFE_BUFFER_USAGE` because the safe counterparts use
  span<uint8_t> too.

- Simplify ValidateIntegrityOrDie()'s implementation by using
  crypto::SHA256Hash() instead of reinventing the wheel.

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2024-09-06 21:56:27 -05:00
..
app fix: delete UvTaskRunner's timers only after they're closed (#43597) 2024-09-06 08:37:33 -05:00
browser refactor: NativeWindow::Create() returns a unique_ptr (#43607) 2024-09-06 14:20:09 -05:00
common refactor: take a uint8_t span in ValidateIntegrityOrDie() (#43612) 2024-09-06 21:56:27 -05:00
renderer perf: use v8::Local<v8::Object> as the key in ObjectCache (#43568) 2024-09-05 10:08:42 +02:00
services/node refactor: declare gin::Wrapper subclasses as final (#43565) 2024-09-04 21:26:25 -05:00
utility chore: bump chromium to 129.0.6630.0 (main) (#43087) 2024-08-02 09:02:11 -05:00