Skip to content

Instantly share code, notes, and snippets.

View julian-klode's full-sized avatar

Julian Andres Klode julian-klode

View GitHub Profile
# coding: utf-8
import argparse
import apt_pkg
import urllib.request
import urllib.parse
import itertools
import glob
import json
import os
import sys
Description: Require 3072 bits for RSA keys if HACK_REQUIRE_3072R
If the environment variable is set, require 3072 bit RSA keys.
Author: Julian Andres Klode <julian.klode@canonical.com>
Forwarded: no
--- a/g10/sig-check.c
+++ b/g10/sig-check.c
@@ -515,6 +515,27 @@ check_signature_end_simple (PKT_public_k
return rc;
}
diff --git a/sbat.c b/sbat.c
index b9f228b..408bb1a 100644
--- a/sbat.c
+++ b/sbat.c
@@ -183,6 +183,10 @@ verify_sbat_helper(list_t *local_sbat_var, size_t n, struct sbat_section_entry *
list_t *pos = NULL;
EFI_STATUS efi_status = EFI_SUCCESS;
struct sbat_var_entry *sbat_var_entry;
+ struct sbat_var_entry temporary_grub_sbat_entry = {
+ "grub",
diff --git a/sbat.c b/sbat.c
index b9f228b..408bb1a 100644
--- a/sbat.c
+++ b/sbat.c
@@ -183,6 +183,10 @@ verify_sbat_helper(list_t *local_sbat_var, size_t n, struct sbat_section_entry *
list_t *pos = NULL;
EFI_STATUS efi_status = EFI_SUCCESS;
struct sbat_var_entry *sbat_var_entry;
+ struct sbat_var_entry temporary_grub_sbat_entry = {
+ "grub",
From 258fafeb3fb0317ab3b65b01737291d858487441 Mon Sep 17 00:00:00 2001
From: Julian Andres Klode <julian.klode@canonical.com>
Date: Mon, 15 Jan 2024 11:48:04 +0100
Subject: [PATCH] recovery fixup
---
util/grub.d/10_linux.in | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in
@julian-klode
julian-klode / zha_blueprint_philips_hue_dimmer_swith_rwl021_fast_setup.yaml
Last active November 24, 2023 16:39 — forked from Rantaki/zha_blueprint_philips_hue_dimmer_swith_rwl021_fast_setup.yaml
ZHA Blueprint for fast setup of Philips Hue Dimmer Switch (RWL021)
blueprint:
domain: automation
name: Controlling lights using Philips Hue Dimmer Switch (RWL021)
description: Take the swith fast into use with pre-set configuration.
input:
zha_device:
name: Philips Hue Dimmer Switch (RWL021 only)
description: The swith to be taken into use.
selector:
device:
#!/usr/bin/python3
import email
import sys
import base64
preserve=["from", "subject", "date"]
msg = email.message_from_file(sys.stdin)
#!/usr/bin/env python
# coding: utf-8
# SPDX-FileCopyrightText: 2023 Julian Andres Klode <jak@jak-linux.org>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
# In[7]:
#!/usr/bin/python3
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

subject: 'Dependency solving' title: | APT 3.0 dependency solver subtitle: | An orthodox approach to dependency solving, leading to a SAT solver comparable to DPLL. documentclass: scrartcl classoption: BCOR=0.5cm secnumdepth: 2 toc-depth: 1