Code Monkey home page Code Monkey logo

unredacter's Introduction

Unredacter

Shows you why you should never ever ever use pixelation as a redaction technique. For a more complete writeup of how this works, check out my blog post here.

wow such secrets

How to Try it Out

Install the dependencies:

npm install

Then start with

npm start

That's it.

How to Crack Your Own Pixelated Image

This is a bit manual and not at all streamlined. I think you'll see why. If someone feels like taking a shot at making this process more in-app, I'm all ears. What do I look like, an Electron developer? But yea here it is:

  1. Crop your image down to just the pixelated area. No borders, no other text. Replace secret.png with that. I recommend doing it in GiMP.

  2. Make note of the block size (it's just the size of each pixelated block). Replace blockSize in the code with that.

  3. Get the CSS just right. This is the hardest and most time-consuming part. Try entering it into test.html and view it in Chrome. Tweak it until you can replicate some sample text as exactly as possible. Pay particular attention to the word and letter spacing. If it skews, then it'll all mess up. Also the font-weight, or else things will end up too light or dark. I can't emphasize enough how critical this step is, as the whole thing really depends on being able to correctly replicate the redacted characters.

  4. Determine what character set you want to try. It's at the top of preload.ts.

  5. Press the go button and see if it works!

unredacter's People

Contributors

dan-bishopfox avatar n3rada avatar novedevo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

unredacter's Issues

Unredaction of numbers

The tool should be able to unredact numbers as well.

Overview

The tool currently unredacts text. It should have the possibility to un-redact numbers as well.
This could be either directly incorporated in the base function, or create a separate one with separate button to start the process.

Acceptance Criteria

  • Security implications approved
  • Number can be redacted

Non Functional Requirements/Wants

  • None

Screenshots / Files

n/a

External Documents / Links

n/a

Can't run the test sapmle [Out of range error]

I have run npm install successfully, but the I cant run the test sample successfully the error is :

Error occurred in handler for 'redact': RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 47100. Received -3968
at boundsError (internal/buffer.js:72:9)
at Buffer.readUInt32BE (internal/buffer.js:295:5)
at Jimp. (/Users/windsky/Downloads/unredacter-main/node_modules/@jimp/plugin-crop/dist/index.js:43:37)
at scan (/Users/windsky/Downloads/unredacter-main/node_modules/@jimp/utils/dist/index.js:53:9)
at Jimp.scanQuiet (/Users/windsky/Downloads/unredacter-main/node_modules/@jimp/core/dist/index.js:1262:32)
at Jimp.cropQuiet (/Users/windsky/Downloads/unredacter-main/node_modules/@jimp/plugin-crop/dist/index.js:42:12)
at Jimp. [as crop] (/Users/windsky/Downloads/unredacter-main/node_modules/@jimp/core/dist/index.js:1176:23)
at /Users/windsky/Downloads/unredacter-main/dist/main.js:363:47
at step (/Users/windsky/Downloads/unredacter-main/dist/main.js:52:23)
at Object.next (/Users/windsky/Downloads/unredacter-main/dist/main.js:33:53) {
code: 'ERR_OUT_OF_RANGE',
methodName: 'crop',
eventName: 'error'
}

01.01.2001

In order to [achieve some goal/result]
a [persona/system/team]
needs to [perform some task/action]

Overview

Clear details of what the minimum requirements are to complete this task

Acceptance Criteria

  • Security implications approved
  • [ ]

Non Functional Requirements/Wants

  • [ ]

Screenshots / Files

External Documents / Links

It just won't work - first, "Arial font" error, then "GPU process" error.

I was very interested in this program, it sounded very promising, and I wanted to try it out very much, but it looks like I have to give up on trying to run it. I tried on Windows Virtual Machine and several Ubuntus (16, 20), even a Pie. Finally, after many versions, one Ubuntu ran it, after hours of updates and upgrades, installing and fixing and updating NPM and Nodejs, NPM electron, others... It finally ran. But the graphics below the sample was missing and there was the error about the font.

url: data:text/html;charset=utf-8, <HTML/> <body style="padding: 8px 0px 0px 8px; background-color:white;"> <span style="padding 0px 0px 0px 0px; font-weight: normal; line-spacing: 0px; word-spacing: 0px; white-space: pre; margin: 0; font-size: 32px; font-family:'Arial'">a</span><span style="padding 0px 0px 0px 0px; margin: 0; color: blue; font-size: 32px; font-family:'Arial'">█</span> </body> </HTML>

A hint here suggested to open the file main.ts and change "sandbox: true" to "sandbox: false" - that made the error disappear, but now there is another one.

(node:27185) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[27185:1226/123022.939019:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.

And that's it, there's no way around that. Looks like that's the end of trying out the program.

Pixel Size Feature Request

In the blockSize variabke, is is a one digit value, which represented the side length of the block, could you add a feature, so that the side length, can also be rectangle, aan example would be blockSize (2x3)

Although there is an error, it runs successfully, and the cracking speed is very slow (Subsequent installation errors occur in Windows PowerShell)

There is an error, and the cracking speed is very slow,like a snail.

npm start

[email protected] start
npm run build && electron ./dist/main.js

[email protected] build
tsc

(node:8300) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(node:20660) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

Steps to Reproduce

First npm install, second npm start

Additional context

Win10 , Desktop, Browser:Google Chrome vision 98.0.4758.102 , 2022.2.22

Relevant screenshots

image
image
image

Non-console UI for this project

As a bpavuk,
I want to make great UI for this app
so that users can use it without any code editing.

Overview

  1. I think UI must be Material You, so let's use KivyMD Python library. Using Python, this app still will be cross-platform.

Acceptance Critreia

Really usable UI

Non Functional Requirements/Wants

Themes ;)

Screenshots / Files

External Documents / Links

привет

  • % of customers impacted: [100]%
  • Affected Users: [Engineers / Operators / Customers]
  • Is revenue impacted: [Yes / No]
  • Urgency: [High / Medium / Low]
  • Deadline: [Date]

Description of Bug

What should the expected behavior be

Platform Affected

[ ] Dev
[ ] Preview
[ ] Production

Steps to Reproduce

Steps to reproduce the behavior

Additional context

OS, Desktop/Mobile, Browser, Date/Time,

Relevant screenshots

If applicable, add screenshots to help explain your problem.

Works not with additional Fonts/Colors

The approach is good, but it has its weaknesses:
The "reverse engineering" works only with a constant font or the right font color.

However, if you use font types other than Arial and other than black (Used by Unredacter), it becomes difficult. Especially if the original font is not known.

Unable to underact 4 letter words that begin with a letter followed by the letter "i"

  • % of customers impacted: [100]%
  • Affected Users: [All]
  • Urgency: [High]

Description of Bug

GIVEN a prebuilt four letter word that has an "i" as the second character
WHEN attempting to unredact
THEN it produces incorrect output

What should the expected behavior be

GIVEN a prebuilt four letter word that has an "i" as the second character
WHEN attempting to unredact
THEN it should solve for the given word and prodcue output that matches the word used to build the file

Platform Affected

[X ] Production

Steps to Reproduce

Steps to reproduce the behavior

Using the tool select "Make Your Own Redacted Text" with a four letter word that has an "i" as the second character.
Then run the tool against those files.

Example words that had improper output:
WORD / Guess
sink / sb
viva / vr u
kilt / kd
tick / tos

Additional context

Kali / Firefox

npm start fail

Description of Bug

after npn install, there are some warn/errors about vuln. I updated with npm audit fix --force and launch npm start.

there is error below. i tried on Windows 10 and under Debian and it is the same issue

[email protected] start
npm run build && electron ./dist/main.js

[email protected] build
tsc

src/main.ts:20:7 - error TS2322: Type '{ preload: string; nodeIntegration: false; worldSafeExecuteJavaScript: true; contextIsolation: true; }' is not assignable to type 'WebPreferences'.
Object literal may only specify known properties, and 'worldSafeExecuteJavaScript' does not exist in type 'WebPreferences'.

20 worldSafeExecuteJavaScript: true,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/electron/electron.d.ts:12965:5
12965 webPreferences?: WebPreferences;
~~~~~~~~~~~~~~
The expected type comes from property 'webPreferences' which is declared here on type 'BrowserWindowConstructorOptions'

src/main.ts:177:7 - error TS2322: Type '{ sandbox: true; webSecurity: true; contextIsolation: true; webviewTag: false; enableRemoteModule: false; allowRunningInsecureContent: false; nodeIntegration: false; nodeIntegrationInWorker: false; nodeIntegrationInSubFrames: false; nativeWindowOpen: false; safeDialogs: true; }' is not assignable to type 'WebPreferences'.
Object literal may only specify known properties, and 'enableRemoteModule' does not exist in type 'WebPreferences'.

177 enableRemoteModule: false,
~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/electron/electron.d.ts:12965:5
12965 webPreferences?: WebPreferences;
~~~~~~~~~~~~~~
The expected type comes from property 'webPreferences' which is declared here on type 'BrowserWindowConstructorOptions'

Found 2 errors.

What should the expected behavior be

Platform Affected

[ ] Dev
[ ] Preview
[ ] Production

Steps to Reproduce

Steps to reproduce the behavior

Additional context

win 10 and Debian

Relevant screenshots

If applicable, add screenshots to help explain your problem.

GPU process isn't usable

  • % of customers impacted: [100]%
  • Affected Users: [me]
  • Is revenue impacted: [No]
  • Urgency: [Low]
  • Deadline: [none - thanks for the POC! :)]

Description of Bug

I am on Linux Opensuse, Nvidia GPU with proprietary drivers. Definitely not an npm/atom guy. Just thought I'd report. I read things about electron and possible issue with new glibc, but I don't have time to dig further now. So probably not an issue with your stuff in the first place.

$ npm start  

> [email protected] start
> npm run build && electron ./dist/main.js


> [email protected] build
> tsc


(electron:27559): Gtk-WARNING **: 18:31:27.762: Theme parsing error: gtk.css:21:4: Junk at end of value for padding
(node:27559) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(node:27604) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[27559:0313/183130.262907:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.

What should the expected behavior be

App comes up.

Platform Affected

[x] Playground
[ ] Dev
[ ] Preview
[ ] Production

Steps to Reproduce

Follow the README.

Additional context

OS, Desktop/Mobile, Browser, Date/Time,

NAME="openSUSE Tumbleweed"
# VERSION="20220302"
ID="opensuse-tumbleweed"
VERSION_ID="20220302"

1

As a [persona/system/team],
I want to [perform some task/action]
so that [achieve some goal/result]

Overview

Clear details of what the minimum requirements are to complete this epic

Acceptance Criteria

  • Security implications approved
  • [ ]

Stake Holders

  • [persona/team/business function]

Non Functional Requirements/Wants

  • [ ]

Screenshots / Files

External Documents / Links

NPM Start Failure

I am trying to run this software on my Apple silicon Mac, and cannot get it to run. This error was already posted a month ago, but since there was no fix I decided to post it again.

This is the error I am getting when trying to run npm start:

src/main.ts:20:7 - error TS2322: Type '{ preload: string; nodeIntegration: false; worldSafeExecuteJavaScript: true; contextIsolation: true; }' is not assignable to type 'WebPreferences'.
  Object literal may only specify known properties, and 'worldSafeExecuteJavaScript' does not exist in type 'WebPreferences'.

20       worldSafeExecuteJavaScript: true,
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  node_modules/electron/electron.d.ts:13642:5
    13642     webPreferences?: WebPreferences;
              ~~~~~~~~~~~~~~
    The expected type comes from property 'webPreferences' which is declared here on type 'BrowserWindowConstructorOptions'

src/main.ts:177:7 - error TS2322: Type '{ sandbox: true; webSecurity: true; contextIsolation: true; webviewTag: false; enableRemoteModule: false; allowRunningInsecureContent: false; nodeIntegration: false; nodeIntegrationInWorker: false; nodeIntegrationInSubFrames: false; nativeWindowOpen: false; safeDialogs: true; }' is not assignable to type 'WebPreferences'.
  Object literal may only specify known properties, and 'enableRemoteModule' does not exist in type 'WebPreferences'.

177       enableRemoteModule: false,
          ~~~~~~~~~~~~~~~~~~~~~~~~~

  node_modules/electron/electron.d.ts:13642:5
    13642     webPreferences?: WebPreferences;
              ~~~~~~~~~~~~~~
    The expected type comes from property 'webPreferences' which is declared here on type 'BrowserWindowConstructorOptions'


Found 2 errors.

I'd appreciate any help. Thanks

Fails to run test (Error: ERR_FAILED (-2) loading)

It fails with the default settings/image when pressing the "Click to Start" button

Console output:

[me@fedora unredacter]$ npm start

> [email protected] start
> npm run build && electron ./dist/main.js


> [email protected] build
> tsc

(node:42136) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(node:42175) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Error occurred in handler for 'redact': Error: ERR_FAILED (-2) loading '  data:text/html;charset=utf-8,   <HTML/>   <body style="padding: 8px 0px 0px 8px; background-color:white;">   <span style="padding 0px 0px 0px 0px; font-weight: normal; line-spacing: 0px; word-spacing: 0px; white-space: pre; margin: 0; font-size: 32px; font-family:'Arial'">a</span><span style="padding 0px 0px 0px 0px; margin: 0; color: blue; font-size: 32px; font-family:'Arial'">█</span>   </body>   </HTML>   '
    at rejectAndCleanup (electron/js2c/browser_init.js:225:1288)
    at WebContents.stopLoadingListener (electron/js2c/browser_init.js:225:1673)
    at WebContents.emit (events.js:223:5) {
  errno: -2,
  code: 'ERR_FAILED',
  url: `  data:text/html;charset=utf-8,   <HTML/>   <body style="padding: 8px 0px 0px 8px; background-color:white;">   <span style="padding 0px 0px 0px 0px; font-weight: normal; line-spacing: 0px; word-spacing: 0px; white-space: pre; margin: 0; font-size: 32px; font-family:'Arial'">a</span><span style="padding 0px 0px 0px 0px; margin: 0; color: blue; font-size: 32px; font-family:'Arial'">█</span>   </body>   </HTML>   `
}

System: Fedora 35

Quick-start from README errors on Windows 10

Saw the associated blog post linked on Hacker News, and was happy to see the source available. Thanks a bunch!

I tried the quick start from the README to see if I could get it to work locally, but failed to do so. For what it's worth, here's a way to reproduce my issue:

Environment:

  • NPM 8.1.2
  • Node v16.13.2
  • Windows 10 21H1
  • Chrome Version 98.0.4758.102 (Official Build) (64-bit)
  • navigator.appVersion in the Electron app that starts: "5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.122 Electron/9.4.4 Safari/537.36"
  • Run from Powershell, version 5.1.19041.1320

Steps taken:

  • git clone the repository
  • npm i
  • npm start
  • Press "Click to Start"

Result:

  • warnings and errors on the Electron dev tools console (see below)
  • no relevant output in the main window
  • an error on the console that booted the electron app

Detailed output from Powershell window:

C:\git\oss\unredacter [main ≡]> npm run start

> [email protected] start
> npm run build && electron ./dist/main.js

> [email protected] build
> tsc

(node:15124) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(node:14468) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Error occurred in handler for 'redact': RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 5244. Received -960
    at boundsError (internal/buffer.js:72:9)
    at Buffer.readUInt32BE (internal/buffer.js:295:5)
    at Jimp.<anonymous> (C:\git\oss\unredacter\node_modules\@jimp\plugin-crop\dist\index.js:43:37)
    at scan (C:\git\oss\unredacter\node_modules\@jimp\utils\dist\index.js:53:9)
    at Jimp.scanQuiet (C:\git\oss\unredacter\node_modules\@jimp\core\dist\index.js:1262:32)
    at Jimp.cropQuiet (C:\git\oss\unredacter\node_modules\@jimp\plugin-crop\dist\index.js:42:12)
    at Jimp.<computed> [as crop] (C:\git\oss\unredacter\node_modules\@jimp\core\dist\index.js:1176:23)
    at C:\git\oss\unredacter\dist\main.js:363:47
    at step (C:\git\oss\unredacter\dist\main.js:52:23)
    at Object.next (C:\git\oss\unredacter\dist\main.js:33:53) {
  code: 'ERR_OUT_OF_RANGE',
  methodName: 'crop',
  eventName: 'error'
}

Output on the Electron dev tools (last part appears after pressing the start button):

DevTools failed to load SourceMap: Could not load content for file:///C:/git/oss/unredacter/preload.js.map: 
4DevTools failed to load SourceMap: Could not load content for file:///C:/git/oss/unredacter/index.js.map: 
DevTools failed to load SourceMap: Could not load content for file:///C:/git/oss/unredacter/phash.js.map: 
DevTools failed to load SourceMap: Could not load content for file:///C:/git/oss/unredacter/request.js.map: 
DevTools failed to load SourceMap: Could not load content for file:///C:/git/oss/unredacter/index.js.map: 
DevTools failed to load SourceMap: Could not load content for file:///C:/git/oss/unredacter/constants.js.map: 
DevTools failed to load SourceMap: Could not load content for file:///C:/git/oss/unredacter/composite-modes.js.map: 
DevTools failed to load SourceMap: Could not load content for file:///C:/git/oss/unredacter/promisify.js.map: 
DevTools failed to load SourceMap: Could not load content for file:///C:/git/oss/unredacter/mime.js.map: 
DevTools failed to load SourceMap: Could not load content for file:///C:/git/oss/unredacter/image-bitmap.js.map: 
6DevTools failed to load SourceMap: Could not load content for file:///C:/git/oss/unredacter/index.js.map: 
DevTools failed to load SourceMap: Could not load content for file:///C:/git/oss/unredacter/iq.js.map: 
3DevTools failed to load SourceMap: Could not load content for file:///C:/git/oss/unredacter/index.js.map: 
DevTools failed to load SourceMap: Could not load content for file:///C:/git/oss/unredacter/blur-tables.js.map: 
14DevTools failed to load SourceMap: Could not load content for file:///C:/git/oss/unredacter/index.js.map: 
DevTools failed to load SourceMap: Could not load content for file:///C:/git/oss/unredacter/measure-text.js.map: 
DevTools failed to load SourceMap: Could not load content for file:///C:/git/oss/unredacter/index.js.map: 
DevTools failed to load SourceMap: Could not load content for file:///C:/git/oss/unredacter/resize.js.map: 
DevTools failed to load SourceMap: Could not load content for file:///C:/git/oss/unredacter/resize2.js.map: 
4DevTools failed to load SourceMap: Could not load content for file:///C:/git/oss/unredacter/index.js.map: 
undefined:1 GET file:///C:/git/oss/unredacter/undefined net::ERR_FILE_NOT_FOUND
Image (async)
(anonymous) @ renderer.ts:54
step @ renderer.ts:6
(anonymous) @ renderer.ts:6
(anonymous) @ renderer.ts:6
__awaiter @ renderer.ts:6
gatherResults @ renderer.ts:36
(anonymous) @ renderer.ts:24
postMessage (async)
(anonymous) @ renderer.ts:60
VM55 renderer_init.js:75 Uncaught (in promise) Error: Error invoking remote method 'redact': RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 5244. Received -960
    at EventEmitter.o.send.o.invoke (VM55 renderer_init.js:75)

Screenshot of the main window:

above-mentioned devtools output plus some scattered text boxes

Of course my ultimate goal is to replace secret.png with my own image and try it out, but for now I'm stuck at the default setup.


PS. I'd absolutely understand if you'd close this issue as "wontfix", given that you provide the source code as a courtesy and companion to a blog post. But just in case you'd be glad to get some feedback on others trying your solution, I figured I'd take a moment to write this issue.

Thanks again for a wonderful blog post and for sharing the code! 👍

is not work

i click on html. nothing.
i cick on readme. "install npm install"
where am i supposed to find this?
i click on main.ts. "video is corrupted"
why do you have a video?

How to install

Hi, I'm new to coding so I don't know how to npm install/start. I have searched on the internet for solutions but I can't understand all of them, so can you guys tell me how to install and use this tool? Also, I will need to unpixelized some pictures so can you explain how to do it with this tool?
Thanks a lot in advance! :)

Sen Tars not working

As a [persona/system/team],
I want to [perform some task/action]
so that [achieve some goal/result]

Overview

Clear details of what the minimum requirements are to complete this epic

Acceptance Criteria

  • Security implications approved
  • [ ]

Stake Holders

  • [persona/team/business function]

Non Functional Requirements/Wants

  • [ ]

Screenshots / Files

External Documents / Links

Issues with test.html

Even though I changed the test.html file to my redacted characters font, in electron the redacted characters, are shown to not match my html at all.

If you know the solution, please tell me

Can't start npm

Error code:
└─$ npm start

[email protected] start
npm run build && electron ./dist/main.js

[email protected] build
tsc

(node:27185) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[27185:1226/123022.939019:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.

Does Not Work on Apple Silicon Macs

Running npm install fails at:

npm ERR! HTTPError: Response code 404 (Not Found) for https://github.com/electron/electron/releases/download/v9.4.4/electron-v9.4.4-darwin-arm64.zip

Because v9.4.4 does not have an darwin-arm64 build

According to the docs you'll need at least electron 11.0.0.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.