aboutsummaryrefslogtreecommitdiff
path: root/slides/2021-padsec/img
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@rgdd.se>2024-10-15 15:35:20 +0200
committerRasmus Dahlberg <rasmus@rgdd.se>2024-10-15 15:35:45 +0200
commit76bae02bcd7d6b3ec9eea428e5e95da184a8dbfb (patch)
tree410ab71c78c99d35aecd46733958a5699cdf5204 /slides/2021-padsec/img
parent883a67439aff566962adafeb0385c6ae972073a3 (diff)
Rescue some slides from old private mono repos
Diffstat (limited to 'slides/2021-padsec/img')
-rw-r--r--slides/2021-padsec/img/after.tex70
-rw-r--r--slides/2021-padsec/img/before.tex46
-rw-r--r--slides/2021-padsec/img/clean.jpgbin0 -> 365111 bytes
-rw-r--r--slides/2021-padsec/img/curl.jpgbin0 -> 1634737 bytes
-rwxr-xr-xslides/2021-padsec/img/kau.pngbin0 -> 66309 bytes
-rw-r--r--slides/2021-padsec/img/log-request.tex47
-rw-r--r--slides/2021-padsec/img/mt.tex19
-rw-r--r--slides/2021-padsec/img/mullvad.pngbin0 -> 38642 bytes
-rw-r--r--slides/2021-padsec/img/openbsd.pdfbin0 -> 1778095 bytes
-rw-r--r--slides/2021-padsec/img/rb.pngbin0 -> 38913 bytes
-rw-r--r--slides/2021-padsec/img/rgdd.jpgbin0 -> 106846 bytes
-rw-r--r--slides/2021-padsec/img/thanks.pdfbin0 -> 12497 bytes
-rw-r--r--slides/2021-padsec/img/tree-leaf.trunnel9
13 files changed, 191 insertions, 0 deletions
diff --git a/slides/2021-padsec/img/after.tex b/slides/2021-padsec/img/after.tex
new file mode 100644
index 0000000..c2af725
--- /dev/null
+++ b/slides/2021-padsec/img/after.tex
@@ -0,0 +1,70 @@
+\begin{tikzpicture}[
+ -latex,
+ entity/.style = {
+ draw = gray!30,
+ thick,
+ rounded rectangle,
+ fill = white,
+ minimum width = 2cm,
+ font = \fontsize{8}{8}\selectfont,
+ text = white,
+ },
+ relation/.style = {
+ draw = none,
+ font = \fontsize{6}{6}\selectfont,
+ },
+ path/.style = {
+ draw,
+ thick,
+ -latex,
+ },
+]
+ \node[entity, fill=darkBlue] (Publisher) at (0,0) { Publisher };
+ \node[entity, fill=darkGreen, below=1.5cm of Publisher] (EndUser) {End-user};
+ \node[entity, fill=darkOrange, left=1.5cm of Publisher] (Log) {Log};
+ \node[entity, fill=darkRed, below=1.5cm of Log] (Witness) {Witness};
+
+ % Key setup
+ \path[path, dashed] ($ (EndUser) + (2,0) $) --
+ node[relation, above] { Public keys }
+ (EndUser);
+ % Get data and signature
+ \path[path] (Publisher) --
+ node[relation, right] {
+ \begin{tabular}{c}
+ Opaque data\\
+ Signature\\
+ Proofs of logging\\
+ \end{tabular}
+ }
+ (EndUser);
+ % Verification
+ \path[path, rounded corners]
+ (EndUser.180) -|
+ ($ (EndUser) + (-1.25,-.75) $)
+ node[relation, below]{
+ Verify
+ } -|
+ (EndUser.210);
+
+
+ % Cosigning
+ \path[path] (Witness) edge[bend right]
+ node[relation,right]{Cosignature}
+ (Log);
+ \path[path] (Log) edge[bend right]
+ node[relation,left]{Tree head}
+ (Witness);
+ \path[path, rounded corners]
+ (Witness.180) -|
+ ($ (Witness) + (-1.25,-.75) $)
+ node[relation, below]{
+ Verify
+ } -|
+ (Witness.210);
+
+ % Get proofs
+ \path[path] (Log) --
+ node[relation,above]{Proofs of logging}
+ (Publisher);
+\end{tikzpicture}
diff --git a/slides/2021-padsec/img/before.tex b/slides/2021-padsec/img/before.tex
new file mode 100644
index 0000000..f634ef4
--- /dev/null
+++ b/slides/2021-padsec/img/before.tex
@@ -0,0 +1,46 @@
+\begin{tikzpicture}[
+ -latex,
+ entity/.style = {
+ draw = gray!30,
+ thick,
+ rounded rectangle,
+ fill = white,
+ minimum width = 2cm,
+ font = \fontsize{8}{8}\selectfont,
+ text = white,
+ },
+ relation/.style = {
+ draw = none,
+ font = \fontsize{6}{6}\selectfont,
+ },
+ path/.style = {
+ draw,
+ thick,
+ -latex,
+ },
+]
+ \node[entity, fill=darkBlue] (Publisher) at (0,0) { Publisher };
+ \node[entity, fill=darkGreen, below=1.5cm of Publisher] (EndUser) {End-user};
+
+ % Key setup
+ \path[path, dashed] ($ (EndUser) + (2,0) $) --
+ node[relation, above] { Public key }
+ (EndUser);
+ % Get data and signature
+ \path[path] (Publisher) --
+ node[relation, right] {
+ \begin{tabular}{c}
+ Opaque data\\
+ Signature\\
+ \end{tabular}
+ }
+ (EndUser);
+ % Verification
+ \path[path, rounded corners]
+ (EndUser.180) -|
+ ($ (EndUser) + (-1.25,-.75) $)
+ node[relation, below]{
+ Verify
+ } -|
+ (EndUser.210);
+\end{tikzpicture}
diff --git a/slides/2021-padsec/img/clean.jpg b/slides/2021-padsec/img/clean.jpg
new file mode 100644
index 0000000..2465e5e
--- /dev/null
+++ b/slides/2021-padsec/img/clean.jpg
Binary files differ
diff --git a/slides/2021-padsec/img/curl.jpg b/slides/2021-padsec/img/curl.jpg
new file mode 100644
index 0000000..51765e7
--- /dev/null
+++ b/slides/2021-padsec/img/curl.jpg
Binary files differ
diff --git a/slides/2021-padsec/img/kau.png b/slides/2021-padsec/img/kau.png
new file mode 100755
index 0000000..0c7c885
--- /dev/null
+++ b/slides/2021-padsec/img/kau.png
Binary files differ
diff --git a/slides/2021-padsec/img/log-request.tex b/slides/2021-padsec/img/log-request.tex
new file mode 100644
index 0000000..08edf87
--- /dev/null
+++ b/slides/2021-padsec/img/log-request.tex
@@ -0,0 +1,47 @@
+\begin{tikzpicture}[
+ -latex,
+ entity/.style = {
+ draw = gray!30,
+ thick,
+ rounded rectangle,
+ fill = white,
+ minimum width = 2cm,
+ font = \fontsize{8}{8}\selectfont,
+ text = white,
+ },
+ relation/.style = {
+ draw = none,
+ font = \fontsize{6}{6}\selectfont,
+ },
+ path/.style = {
+ draw,
+ thick,
+ -latex,
+ },
+]
+ \node[entity, fill=darkBlue] (Publisher) at (0,0) { Publisher };
+ \node[entity, fill=darkGreen, below=1.5cm of Publisher] (DNS) {DNS};
+ \node[entity, fill=darkOrange, left=1.5cm of Publisher] (Log) {Log};
+
+ % Setup DNS
+ \path[path, dashed] (Publisher) --
+ node[relation, right] {TXT RR}
+ (DNS);
+
+ \path[path] (Publisher) edge[bend right]
+ node[relation, above] {
+ Key-value pairs
+ }
+ (Log);
+ \path[path] (Log) edge[bend right]
+ node[relation,below] {
+ accept/reject
+ }
+ (Publisher);
+
+ \path[path, rounded corners] (Log) |-
+ node[relation,below,pos=.75]{
+ verify TXT RR
+ }
+ (DNS);
+\end{tikzpicture}
diff --git a/slides/2021-padsec/img/mt.tex b/slides/2021-padsec/img/mt.tex
new file mode 100644
index 0000000..3deaf62
--- /dev/null
+++ b/slides/2021-padsec/img/mt.tex
@@ -0,0 +1,19 @@
+\begin{tikzpicture}[
+ -latex,
+]
+ \Tree [
+ .$\hash(h_{01}\concat h_{23})$ [
+ .$h_{01}\coloneqq\hash(h_0\concat h_1)$ [
+ .$h_0\coloneqq\hash(\mathsf{foo})$
+ ] [
+ .$h_1\coloneqq\hash(\mathsf{bar})$
+ ]
+ ] [
+ .$h_{23}\coloneqq\hash(h_2\concat h_3)$ [
+ .$h_2\coloneqq\hash(\mathsf{baz})$
+ ] [
+ .$h_3\coloneqq\hash(\mathsf{qux})$
+ ]
+ ]
+ ]
+\end{tikzpicture}
diff --git a/slides/2021-padsec/img/mullvad.png b/slides/2021-padsec/img/mullvad.png
new file mode 100644
index 0000000..4574eb1
--- /dev/null
+++ b/slides/2021-padsec/img/mullvad.png
Binary files differ
diff --git a/slides/2021-padsec/img/openbsd.pdf b/slides/2021-padsec/img/openbsd.pdf
new file mode 100644
index 0000000..53c6c98
--- /dev/null
+++ b/slides/2021-padsec/img/openbsd.pdf
Binary files differ
diff --git a/slides/2021-padsec/img/rb.png b/slides/2021-padsec/img/rb.png
new file mode 100644
index 0000000..a0b30cb
--- /dev/null
+++ b/slides/2021-padsec/img/rb.png
Binary files differ
diff --git a/slides/2021-padsec/img/rgdd.jpg b/slides/2021-padsec/img/rgdd.jpg
new file mode 100644
index 0000000..597b406
--- /dev/null
+++ b/slides/2021-padsec/img/rgdd.jpg
Binary files differ
diff --git a/slides/2021-padsec/img/thanks.pdf b/slides/2021-padsec/img/thanks.pdf
new file mode 100644
index 0000000..9ad4dc8
--- /dev/null
+++ b/slides/2021-padsec/img/thanks.pdf
Binary files differ
diff --git a/slides/2021-padsec/img/tree-leaf.trunnel b/slides/2021-padsec/img/tree-leaf.trunnel
new file mode 100644
index 0000000..c3806f3
--- /dev/null
+++ b/slides/2021-padsec/img/tree-leaf.trunnel
@@ -0,0 +1,9 @@
+/*
+ * The logged Merkle tree leaf data
+ */
+struct tree_leaf {
+ u64 shard_hint;
+ u8 checksum[32];
+ u8 signature[64];
+ u8 key_hash[32];
+}