I hereby claim:
- I am vkobel on github.
- I am kob (https://keybase.io/kob) on keybase.
- I have a public key ASC--Xup1G4N3kXzgP9dyVqlpN2T0Nnc6_K1ds9K7uh4ZAo
To claim this, I am signing this object:
import hashlib | |
import secrets | |
# Parameters for the secp256k1 curve | |
p = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F | |
a = 0 | |
b = 7 | |
Gx = 0x79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798 | |
Gy = 0x483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8 | |
n = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 |
import hashlib | |
import random | |
class IncrementalMerkleTree: | |
def __init__(self, depth: int) -> None: | |
if depth < 1: | |
raise ValueError("Depth must be at least 1") | |
self.depth: int = depth | |
self.leaf_count: int = 2 ** depth |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>ERC20 Permit Signing</title> | |
<script src="https://cdn.jsdelivr.net/npm/web3/dist/web3.min.js"></script> | |
</head> | |
<style> | |
body { |
#include <linux/module.h> | |
#include <crypto/hash.h> | |
struct sdesc { | |
struct shash_desc shash; | |
char ctx[]; | |
}; | |
static struct sdesc *init_sdesc(struct crypto_shash *alg) | |
{ |
#include <linux/module.h> | |
#include <linux/kernel.h> | |
#include <linux/cred.h> | |
#include <linux/fs.h> | |
MODULE_LICENSE("GPL"); | |
struct task_struct *get_task_struct_by_pid(unsigned pid) | |
{ | |
struct pid *proc_pid = find_vpid(pid); |
❯ ccat ~/.config/nvim/init.vim | |
" ====================== | |
" Plugins are define here | |
" ====================== | |
call plug#begin('~/.vim/plugged') | |
Plug 'Valloric/YouCompleteMe' | |
Plug 'scrooloose/nerdtree' | |
Plug 'drewtempelmeyer/palenight.vim' | |
Plug 'itchyny/lightline.vim' |
## /etc/udev/rules.d/21-yubikey.rules | |
ACTION=="remove", SUBSYSTEM=="input", ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0407", RUN+="/usr/local/bin/lockscreen.sh" |
diff --git a/ecdsakey.py b/ecdsakey.py | |
index b73a969e..353c5f9e 100644 | |
--- a/ecdsakey.py | |
+++ b/ecdsakey.py | |
@@ -160,12 +160,12 @@ class ECDSAKey(PKey): | |
pointinfo = msg.get_binary() | |
try: | |
- numbers = ec.EllipticCurvePublicNumbers.from_encoded_point( | |
+ key = ec.EllipticCurvePublicKey.from_encoded_point( |
[Interface] | |
Address = 10.0.0.2/24 | |
PrivateKey = <Client 1 Priv Key> | |
[Peer] | |
PublicKey = <Server Pub Key> | |
Endpoint = <Server Public IP>:51820 | |
AllowedIPs = 0.0.0.0/0 | |
PersistentKeepalive = 25 |
I hereby claim:
To claim this, I am signing this object: