Skip to content

Instantly share code, notes, and snippets.

@kdmukai
kdmukai / README.md
Last active December 24, 2024 19:27
SeedSigner 0.8.5-rc1 (Release Candidate 1) Release Notes

Release Candidate 0.8.5-rc1

🔥 ¡SeedSigner en español está aquí! 🔥


⚠️ Pre-Release Notice:

This is a Release Candidate (RC) version of SeedSigner. It is meant for TESTING to help us discover bugs, identify translations that can be improved, UI problems, performance issues, etc.

@kdmukai
kdmukai / README.md
Last active December 24, 2024 05:36
Submitting SeedSigner translation changes

Submitting SeedSigner translation changes

Create an account on github.com if you haven't already.


Finish translation changes, download .po file

  • Update and review translations in Transifex.
  • Navigate to this screen in Transifex and click "Download for use":
@kdmukai
kdmukai / README.md
Created December 3, 2024 21:24
pyasic + Loki + vnish management script

ASIC Manager

Installation

Create virtualenv and install python dependencies:

python -m venv envs/asic_manager-env
pip install -r requirements.txt

I'm using python3.11 but any recent-ish python3 should be fine.

@kdmukai
kdmukai / test_secp256k1_embedded.py
Created November 8, 2024 20:01
Testing `embit` secp256k1 python bindings, custom binary execution times
import time
from embit.util import secp256k1
import hashlib
from binascii import hexlify
def secp256k1_example():
"""Usage example for secp256k1 usermodule"""
# randomize context from time to time
# - it helps against sidechannel attacks
@kdmukai
kdmukai / qr_density_calcs.py
Last active November 4, 2024 16:31
Utility to brute force calculate target QR code densities for given QR formats and output display resolutions
"""
Utility to brute force calculate target QR code densities for given QR formats and output
display resolutions.
"""
"""
density | qr size | char capacity | px per module
10 | 33x33 | 114 | 7.15 # L
26 | 33x33 | 154 | 7.15
@kdmukai
kdmukai / README.md
Last active December 3, 2024 14:51
SeedSigner "firmware" isn't what you think it is

SeedSigner "firmware" isn't what you think it is

On Rabbit Hole Recap #320, ODELL said:

"If you are using a SeedSigner in single sig you have to make sure that that device never leaves your sight. If someone gets access to it, they can put malicious firmware on it. [...] And this idea that you're going to share it among communities in single sig is batshit crazy. That is not a good trust model."

This was a few weeks back. Things have gotten spicier since.

My goal here is to LOWER the temperature.

@kdmukai
kdmukai / README.md
Last active August 17, 2024 12:40
SeedSigner v0.8.0 Release Notes

SeedSigner v0.8.0 Release Notes


Quick Highlights:

Addtional legacy signing support:

  • P2PKH (bip44): Legacy format dating back to 2014.
  • P2SH multisig (bip45): Legacy multisig (also 2014).
@kdmukai
kdmukai / README.md
Last active January 2, 2025 00:53
Run Proxmox Backup Server (PBS) on a Proxmox VE host

Run Proxmox Backup Server (PBS) on a Proxmox VE host

Rather than set up even more infrastructure, I run Proxmox Backup Server on the same machine that's running a Proxmox VE host.

Install Proxmox Backup Server

Open a shell on your Proxmox VE host. We'll be installing PBS alongside Proxmox VE at the OS level. We will NOT run PBS inside a container.

@kdmukai
kdmukai / README.md
Last active June 16, 2024 01:56
Create basic Proxmox Debian 12 CT

Create new CT

General

  • CT ID: I keep these sequential and mappable to their LAN ip (e.g.: CT ID 201 -> 19.2.168.1.201)
  • Hostname: what Proxmox will call it (e.g. "bitcoind")
  • Password: VM's root password

Template

Use the standard Debian 12 template. If you haven't already downloaded it:

@kdmukai
kdmukai / README.md
Last active September 13, 2024 06:16
Create a Bitcoin Core node in Proxmox

Create a Bitcoin Core Node CT in Proxmox

Create the CT:

  • Debian 12 image
  • 4GB system disk in local-lvm
  • 6GB RAM, 0 swap

Add a data disk mount point

In the CT's "Resources" > "Add" > "Mount point":

  • Storage: "Directory" disk from above