Skip to content

Instantly share code, notes, and snippets.

View LiranCohen's full-sized avatar
👨‍💻

Liran Cohen LiranCohen

👨‍💻
View GitHub Profile
@LiranCohen
LiranCohen / main.js
Created March 27, 2024 20:12
AES-KW Rejection with `OperationError` in `electron`
const { app } = require('electron');
app.whenReady().then(() => {
(async () => {
const cek = crypto.getRandomValues(new Uint8Array(16));
const cryptoKeyCek = await crypto.subtle.importKey(
"raw",
cek,
{ name: "HMAC", hash: "SHA-256" },
true,
@LiranCohen
LiranCohen / keybase.md
Created December 17, 2019 17:12
keybase.md

Keybase proof

I hereby claim:

  • I am lirancohen on github.
  • I am lirancohen (https://keybase.io/lirancohen) on keybase.
  • I have a public key ASB-irvvN7OBAMioXejWJwVY_TSq72Fip8kNXkY0ivCkvgo

To claim this, I am signing this object: