Skip to content

Commit 876bca9

Browse files
authored
Merge pull request #3 from pets-lecture/v-1.1
v 1.1
2 parents fc3dd14 + 2585f8f commit 876bca9

File tree

7 files changed

+59
-48
lines changed

7 files changed

+59
-48
lines changed

.github/workflows/hugo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Sample workflow for building and deploying a Hugo site to GitHub Pages
2-
name: Deploy Hugo site to Pages
2+
name: Deploy Hugo to GitHub Pages
33

44
on:
55
# Runs on pushes targeting the default branch

config.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ summaryLength = 30
2727
weight = 2
2828

2929
[params]
30-
google_analytics_id=""
30+
matomo_analytics_id="11"
31+
matomo_analytics_host="//matomo.nysos.net/"
3132
homepage_button_link = '/course'
3233
homepage_button_text = 'Content'
3334
homepage_intro = 'Privacy-Enhancing Techologies Lecture Archive'

content/course/slides/index.md

Lines changed: 34 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,46 @@
22
title: 'Slides'
33
date: 2024-09-24
44
weight: 2
5+
summary: 'PDF Slides based on our PETS lecture from late 2023.'
56
---
6-
The following slides are based on [
7-
194.144 Privacy-Enhancing Technologies](https://tiss.tuwien.ac.at/course/educationDetails.xhtml?dswid=9857&dsrid=946&semester=2023W&courseNr=194144) from late 2023.
7+
The following slides in format are based on our last PETS course from late 2023 (see [194.144@TU Wien](https://tiss.tuwien.ac.at/course/educationDetails.xhtml?dswid=9857&dsrid=946&semester=2023W&courseNr=194144)).
88

9-
### PETS Topics
10-
#### [01_Introduction.pdf](/slides/01_Introduction.pdf)
11-
Introduction and motivation for PET
9+
### Topics
1210

13-
#### [02_Anonymity.pdf](/slides/02_Anonymity.pdf)
14-
Systems for online anonymity (remailer, dining cryptographers, mix networks)
11+
{{< slide file_name="01_Introduction.pdf" >}}
12+
`introduction`, `motivation`, `non-technical aspects`
1513

16-
#### [03_Censorship.pdf](/slides/03_Censorship.pdf)
17-
Internet censorship (technologies, measurements, circumvention, Great Firewall of China)
1814

19-
#### [04_Messaging.pdf](/slides/04_Messaging.pdf)
20-
Secure Messaging (PGP, OTR, ZRTP, mobile messaging, Signal)
15+
{{< slide file_name="02_Anonymity.pdf" >}}
2116

22-
#### [05_TLS.pdf](/slides/05_TLS.pdf)
23-
Transport Layer Security (TLS, PKI, Implementations, Crypto, HTTPS, attacks, incidents, HSTS, CT, DNS over TLS/HTTPS)
17+
`remailer`, `chaum mixes`, `mix networks`
2418

25-
#### [06_Tor.pdf](/slides/06_Tor.pdf)
26-
Tor (onion routing, functionality, onion services, attacks, usage)
2719

28-
#### [07_WebPrivacy.pdf](/slides/07_WebPrivacy.pdf)
29-
Web Privacy (web tracking, fingerprinting, anti tracking)
20+
{{< slide file_name="03_Censorship.pdf" >}}
3021

22+
`censorship technologies`, `circumvention`, `measurements`
23+
24+
25+
{{< slide file_name="04_Messaging.pdf" >}}
26+
27+
`pgp`, `mobile messaging`, `signal`
28+
29+
30+
{{< slide file_name="05_TLS.pdf" >}}
31+
32+
`transport layer security`, `public key infrastructure`, `https`
33+
34+
35+
{{< slide file_name="06_Tor.pdf" >}}
36+
37+
`onion routing`, `hidden services`, `attacks`
38+
39+
40+
{{< slide file_name="07_WebPrivacy.pdf" >}}
41+
42+
`web tracking`, `fingerprinting`, `dns privacy`
43+
44+
45+
{{< slide file_name="08_VPNs.pdf" >}}
46+
47+
`tls-based`, `wireguard`, `alternatives`

layouts/_default/baseof.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE html>
22
<html lang="{{ .Site.Language.Lang }}">
3-
3+
{{ partial "matomo.html" . }}
44
<head>
55
<meta charset="utf-8">
66
<meta http-equiv="x-ua-compatible" content="ie=edge">
@@ -66,8 +66,6 @@
6666
<script type="text/javascript" src="{{ ($scripts | minify | fingerprint).RelPermalink }}"></script>
6767
{{ end }}
6868

69-
{{ partial "google-analytics.html" . }}
70-
7169
</body>
7270

7371
</html>

layouts/partials/google-analytics.html

Lines changed: 0 additions & 26 deletions
This file was deleted.

layouts/partials/matomo.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{{ if .Site.Params.matomo_analytics_id }}
2+
<!-- Matomo -->
3+
<script>
4+
var _paq = window._paq = window._paq || [];
5+
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
6+
_paq.push(['trackPageView']);
7+
_paq.push(['enableLinkTracking']);
8+
(function() {
9+
var u="{{ .Site.Params.matomo_analytics_host }}";
10+
_paq.push(['setTrackerUrl', u+'matomo.php']);
11+
_paq.push(['setSiteId', '{{ .Site.Params.matomo_analytics_id }}']);
12+
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
13+
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
14+
})();
15+
</script>
16+
{{ end }}

layouts/shortcodes/slide.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{{ $filepath := (printf "static/slides/%s" (.Get `file_name`)) }}
2+
{{ $file := os.Stat $filepath }}
3+
{{ $file_size_in_mb := (printf "%.2f" (div $file.Size 1000000.0)) }}
4+
5+
<h2><a href="/slides/{{.Get `file_name` }}">{{ path.BaseName $filepath }}</a><span style="font-size: 1rem;"> PDF ({{ $file_size_in_mb}} MB)</span></h2>

0 commit comments

Comments
 (0)