Skip to content

Instantly share code, notes, and snippets.

View edef1c's full-sized avatar

edef edef1c

View GitHub Profile
@edef1c
edef1c / 0001-key-dumping.patch
Last active April 10, 2022 17:22
wireguard-go key dumping patch
From 4181bdea33c11bc0209f1951315107cf0fcff11a Mon Sep 17 00:00:00 2001
From: edef <edef@edef.eu>
Date: Sun, 10 Apr 2022 17:19:29 +0000
Subject: [PATCH] key dumping
Same output format as extract-keys.sh
Signed-off-by: edef <edef@edef.eu>
---
device/noise-protocol.go | 15 +++++++++++++++
@edef1c
edef1c / gist:e1d3dba34d04bec5f8afac6ce815aed0
Last active July 29, 2022 23:36
rustc incremental fingerprint ICE
edef@jaguar ~/s/u/s/ripple (trunk)> cargo test --workspace
Compiling minitrace v0.0.0 (/home/src/unfathomable/src/ripple/minitrace)
Compiling fossil v0.1.0 (/home/src/unfathomable/src/ripple/fossil)
error: internal compiler error: encountered incremental compilation error with def_ident_span(minitrace[a978]::{impl#69}::fmt::__BitFlags::NONBLOCK)
|
= help: This is a known issue with the compiler. Run `cargo clean -p minitrace` or `cargo clean` to allow your project to compile
= note: Please follow the instructions below to create a bug report with the provided information
= note: See <https://github.com/rust-lang/rust/issues/84970> for more information
thread 'rustc' panicked at 'Found unstable fingerprints for def_ident_span(minitrace[a978]::{impl#69}::fmt::__BitFlags::NONBLOCK): Some(minitrace/src/main.rs:574:9: 574:17 (#0))', compiler/rustc_query_system/src/query/plumbing.rs:657:9