Skip to content

Instantly share code, notes, and snippets.

View julian-klode's full-sized avatar

Julian Andres Klode julian-klode

View GitHub Profile

Keybase proof

I hereby claim:

  • I am julian-klode on github.
  • I am julianklode (https://keybase.io/julianklode) on keybase.
  • I have a public key ASATNYfDeu0km1-g-ZY8ECurwuNlKjkY5bLLKeCCk39inAo

To claim this, I am signing this object:

#!/usr/bin/python3
#
# Copyright (C) 2019 Julian Andres Klode
#
# SPDX-License-Identifier: AGPL-3.0-or-later
#
import json
import requests
import os
@julian-klode
julian-klode / shim-review-request.md
Created March 20, 2020 16:08
shim-review-request.md

(tl;dr same as #82 + an additional patch, and now built in Ubuntu 20.04 instead of 19.10)

Make sure you have provided the following information:

  • link to your code branch cloned from rhboot/shim-review in the form user/repo@tag
  • completed README.md file with the necessary information
  • shim.efi to be signed
  • public portion of your certificate embedded in shim (the file passed to VENDOR_CERT_FILE)
  • any extra patches to shim via your own git tree or as files
  • any extra patches to grub via your own git tree or as files
#!/bin/bash
[ -e $XDG_RUNTIME_DIR/OVMF_VARS.fd ] || cp /usr/share/OVMF/OVMF_VARS.ms.fd $XDG_RUNTIME_DIR/OVMF_VARS.fd
kvm -smp 2 \
-m 4096 \
-cpu host \
-M q35 \
-drive if=pflash,format=raw,readonly,file=/usr/share/OVMF/OVMF_CODE.fd \
#!/bin/bash
[ -e $XDG_RUNTIME_DIR/OVMF_VARS.fd ] || cp /usr/share/OVMF/OVMF_VARS.ms.fd $XDG_RUNTIME_DIR/OVMF_VARS.fd
kvm -smp 2 \
-m 4096 \
-cpu host \
-M q35 \
-drive if=pflash,format=raw,readonly,file=/usr/share/OVMF/OVMF_CODE.fd \
apt (1.9.11) experimental; urgency=medium
[ Tomáš Janoušek ]
* bash completion: Add autopurge command
[ Tris Emmy Wilson ]
* apt-mark: don't lie about successful marks
[ Julian Andres Klode ]
* apt(8): Wait for lock (Closes: #754103)

APT 2.0

After brewing in experimental for a while, and getting a first outing in the Ubuntu 19.10 release; both as 1.9, APT 2.0 is now releasing to unstable.

Compared to the 1.8 series, the APT 2.0 series features several new features, as well as improvements in performance, hardening. A lot of code has been removed as well, reducing the size of the library.

Changes Since 1.8

#!/bin/sh
write() {
file="$1"
shift
echo "$@" | sudo tee "$file"
}
case "$1" in
#!/usr/bin/python3
import json
import requests
import os
import sys
import time
from collections import OrderedDict
from typing import Any, Dict, Iterator
///bin/true; exec /usr/bin/env go run "$0" "$@"
package main
import (
"flag"
"log"
"os"
"regexp"
"runtime/pprof"
"strings"