Skip to content

Commit f8c2fb9

Browse files
authored
Merge pull request #1 from pets-lecture/whisper
Basic whisper site with slides material
2 parents 9102839 + 4b841f2 commit f8c2fb9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+505
-51
lines changed

.github/workflows/jekyll-gh-pages.yml

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

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.idea
2+
themes
3+
public
4+
resources

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "themes/hugo-whisper-theme"]
2+
path = themes/hugo-whisper-theme
3+
url = https://github.com/zerostaticthemes/hugo-whisper-theme.git

.hugo_build.lock

Whitespace-only changes.

archetypes/default.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: "{{ replace .Name "-" " " | title }}"
3+
date: {{ .Date }}
4+
draft: true
5+
---
6+

archetypes/docs.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: "{{ replace .TranslationBaseName "-" " " | title }}"
3+
date: {{ .Date }}
4+
draft: false
5+
weight: 100
6+
---
7+
8+
Lorem markdownum aequalis strigis. Saetigeri iubeas, vultu huic alvum nondum
9+
de obside ut laniavit arbor palmis, cum quin. Rupes vetat videndo, armigerae
10+
crimen habet Priamum nec.

assets/scss/_bootstrap-variables.scss

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
$grid-breakpoints: (
2+
xs: 0,
3+
sm: 576px,
4+
md: 768px,
5+
lg: 992px,
6+
xl: 1300px,
7+
);
8+
9+
$container-max-widths: (
10+
sm: 540px,
11+
md: 720px,
12+
lg: 960px,
13+
xl: 1140px,
14+
);
15+
16+
$grid-gutter-width: 20px;
17+
18+
$primary: #1de9b6 !default;
19+
$secondary: #ffca28 !default;
20+
$black: #212529 !default;
21+
22+
// Links
23+
$link-color: $primary;
24+
$link-decoration: none;
25+
$link-hover-color: lighten($primary, 20%);
26+
$link-hover-decoration: underline;
27+
28+
// Fonts
29+
$font-size-base: 1rem; // Assumes the browser default, typically `16px`
30+
$font-family-base: 'Roboto', Arial, sans-serif, -apple-system;
31+
$font-family-serif: 'Lora', Arial, sans-serif, -apple-system;
32+
$font-family-mono: 'Roboto Mono', monospace;
33+
$line-height-base: 1.4;
34+
35+
// Headings & Paragraph
36+
$paragraph-color: #333;
37+
38+
$spacer: 1rem;
39+
$spacers: ();
40+
$spacers: map-merge(
41+
(
42+
0: 0,
43+
1: 10px,
44+
2: 20px,
45+
3: 30px,
46+
4: 40px,
47+
5: 50px,
48+
6: 60px,
49+
7: 70px,
50+
8: 80px,
51+
9: 90px,
52+
10: 100px,
53+
11: 110px,
54+
12: 120px,
55+
13: 130px,
56+
14: 140px,
57+
15: 150px,
58+
16: 160px,
59+
17: 170px,
60+
18: 180px,
61+
19: 190px,
62+
20: 200px,
63+
),
64+
$spacers
65+
);

assets/scss/pages/_home.scss

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
.page-home {
2+
text-align: left;
3+
.title {
4+
font-weight: lighter;
5+
font-family: $font-family-base;
6+
}
7+
p {
8+
margin: 0 auto;
9+
font-size: 1.2rem;
10+
font-weight: lighter;
11+
margin-bottom: 40px;
12+
@include media-breakpoint-up(md) {
13+
width: 80%;
14+
}
15+
@include media-breakpoint-up(lg) {
16+
width: 100%;
17+
}
18+
}
19+
}

config.toml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
baseURL = "/"
2+
theme = "hugo-whisper-theme"
3+
languageCode = "en-us"
4+
title = "Privacy-Enhancing Technologies (PETS)"
5+
6+
pygmentsCodeFences = true
7+
pygmentsCodefencesGuessSyntax = true
8+
pygmentsUseClasses = true
9+
10+
[module]
11+
[module.hugoVersion]
12+
extended = true
13+
min = "0.55.0"
14+
15+
# Controls how many words are printed in the content summary on the docs homepage.
16+
# See https://gohugo.io/content-management/summaries/
17+
summaryLength = 30
18+
19+
[[menu.main]]
20+
name = "Home"
21+
url = "/"
22+
weight = 1
23+
24+
[[menu.main]]
25+
name = "Material"
26+
url = "/material/"
27+
weight = 2
28+
29+
[params]
30+
google_analytics_id=""
31+
homepage_button_link = '/material'
32+
homepage_button_text = 'Material'
33+
homepage_intro = 'Privacy-Enhancing Techologies lecture material.'
34+
homepage_image = ''
35+
36+
## You can enable to add anchor links to header elements
37+
# enable_anchor_link = true
38+
39+
[params.homepage_meta_tags]
40+
meta_description = "Lecture material for Privacy-Enhancing Technologies (PETS)."
41+
meta_og_title = "Privacy-Enhancing Technologies (PETS)"
42+
meta_og_type = "website"
43+
meta_og_image = "https://avatars.githubusercontent.com/u/182622536?"
44+
meta_og_description = "Lecture notes and challenges for Privacy-Enhancing Technologies."
45+
meta_twitter_card = "summary"
46+
47+
[params.logo]
48+
mobile = "/images/logo-mobile.svg"
49+
standard = "/images/logo.svg"
50+
51+
[params.footer]
52+
copyright_text = 'Created with <a href="https://gohugo.io/">Hugo</a>.'

content/_index.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: 'Privacy-Enhancing Technologies'
3+
date: 2024-09-24
4+
---
5+
6+
7+
Privacy-Enhancing Technologies (`PETS`) was a lecture by [Markus Donko-Huber](), [Martin Schmiedecker](), [Wilfried Mayer]() at [TU Wien](https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4760&dsrid=60&courseNr=194144) from `2014 - 2023`.
8+
In this lecture, students explored the fundamental concepts and practical applications of privacy-enhancing technologies. The course was designed to achieve the following learning goals.
9+
10+
1. Name **basic privacy-enhancing technologies:** Students became familiar with essential tools and methods used to protect privacy in digital environments.
11+
2. **Apply theoretical knowledge to practical assignments:** Through hands-on exercises, students implemented privacy-enhancing technologies in real-world scenarios.
12+
3. Understand the **pros and cons of different privacy-enhancing methods:** The lecture covered various techniques, highlighting their advantages and limitations to help students make informed decisions.
13+
4. Analyze current internet services regarding privacy and suggest **effective technical protection measures:** Students critically evaluated existing online services and proposed robust privacy solutions.
14+
15+
All material is licensed under: ...

content/material/_index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: 'Lecture Material'
3+
date: 2018-11-28T15:14:39+10:00
4+
weight: 1
5+
---
6+
7+
8+

content/material/challenges/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: 'PETS Challenges'
3+
date: 2024-09-24
4+
weight: 3
5+
---
6+
7+
## Challenge Source
8+
TBA

content/material/slides/index.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: 'PETS Slides'
3+
date: 2024-09-24
4+
weight: 2
5+
---
6+
7+
## Slides
8+
#### [01_Introduction.pdf](/slides/01_Introduction.pdf)
9+
Introduction and motivation for PET
10+
11+
#### [02_Anonymity.pdf](/slides/02_Anonymity.pdf)
12+
Systems for online anonymity (remailer, dining cryptographers, mix networks)
13+
14+
#### [03_Censorship.pdf](/slides/03_Censorship.pdf)
15+
Internet censorship (technologies, measurements, circumvention, Great Firewall of China)
16+
17+
#### [04_Messaging.pdf](/slides/04_Messaging.pdf)
18+
Secure Messaging (PGP, OTR, ZRTP, mobile messaging, Signal)
19+
20+
#### [05_TLS.pdf](/slides/05_TLS.pdf)
21+
Transport Layer Security (TLS, PKI, Implementations, Crypto, HTTPS, attacks, incidents, HSTS, CT, DNS over TLS/HTTPS)
22+
23+
#### [06_Tor.pdf](/slides/06_Tor.pdf)
24+
Tor (onion routing, functionality, onion services, attacks, usage)
25+
26+
#### [07_WebPrivacy.pdf](/slides/07_WebPrivacy.pdf)
27+
Web Privacy (web tracking, fingerprinting, anti tracking)
28+

data/social.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[
2+
{
3+
"name": "Github",
4+
"link": "https://github.com/pets-lecture",
5+
"image": "images/social/github.svg"
6+
}
7+
]

layouts/404.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{{ define "header_css" }}{{ end }}
2+
{{ define "body_classes" }}{{ end }}
3+
{{ define "header_classes" }}{{ end }}
4+
5+
{{ define "main" }}
6+
<div class="container pt-4 pt-10">
7+
<div class="row justify-content-center">
8+
<div class="col-12 col-md-9">
9+
<h1>404 Page Not Found</h1>
10+
</div>
11+
</div>
12+
</div>
13+
{{ end }}

layouts/_default/baseof.html

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
<!DOCTYPE html>
2+
<html lang="{{ .Site.Language.Lang }}">
3+
4+
<head>
5+
<meta charset="utf-8">
6+
<meta http-equiv="x-ua-compatible" content="ie=edge">
7+
<title>{{ block "title" . }}{{ .Title }} - {{ .Site.Title }}{{ end }}</title>
8+
<meta name="viewport" content="width=device-width, initial-scale=1">
9+
{{ block "meta_tags" . }}{{end}}
10+
<link rel="icon" href="{{ "favicon.png" | absURL}}">
11+
12+
{{ if hugo.IsServer }}
13+
{{ $style := resources.Get "scss/style.scss" | toCSS (dict "targetPath" "css/style.css" "enableSourceMap" true) }}
14+
<link rel="stylesheet" href="{{ ($style).RelPermalink }}">
15+
{{ else }}
16+
{{ $style := resources.Get "scss/style.scss" | toCSS (dict "targetPath" "css/style.css" "enableSourceMap" false) }}
17+
<link rel="stylesheet" href="{{ ($style | minify | fingerprint).RelPermalink }}">
18+
{{ end }}
19+
20+
{{ block "header_css" . }}{{ end }}
21+
22+
</head>
23+
24+
<body class='page {{ block "body_classes" . }}{{ end }}'>
25+
{{ partial "main-menu-mobile.html" . }}
26+
<div class="wrapper">
27+
{{ partial "header.html" . }}
28+
29+
{{ $displaySidebar := false }}
30+
{{ range .Site.Params.mainSections }}
31+
{{ if eq $.Section . }}
32+
{{ $displaySidebar = true }}
33+
{{ end }}
34+
{{ end }}
35+
36+
{{ if $displaySidebar }}
37+
<div class="container pt-2 pt-md-6 pb-3 pb-md-6">
38+
<div class="row">
39+
<div class="col-12 col-md-3 mb-3">
40+
<div class="sidebar">
41+
{{ partial "sidebar.html" . }}
42+
</div>
43+
</div>
44+
<div class="col-12 col-md-9">
45+
{{ block "main" . }}
46+
{{ end }}
47+
</div>
48+
</div>
49+
</div>
50+
{{ else }}
51+
{{ block "main" . }}
52+
{{ end }}
53+
{{ end}}
54+
</div>
55+
56+
{{ partial "sub-footer.html" . }}
57+
58+
{{ $scripts := resources.Get "js/scripts.js" }}
59+
60+
{{ block "footer_js" . }}
61+
{{ end }}
62+
63+
{{ if hugo.IsServer }}
64+
<script type="text/javascript" src="{{ $scripts.RelPermalink }}"></script>
65+
{{ else }}
66+
<script type="text/javascript" src="{{ ($scripts | minify | fingerprint).RelPermalink }}"></script>
67+
{{ end }}
68+
69+
{{ partial "google-analytics.html" . }}
70+
71+
</body>
72+
73+
</html>

layouts/_default/list.html

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{{ define "header_css" }}{{ end }}
2+
{{ define "body_classes" }}page-default-list{{ end }}
3+
{{ define "header_classes" }}{{ end }}
4+
5+
{{ define "main" }}
6+
7+
<span class="overview">Overview</span>
8+
<h1 class="title">{{ .Title }}</h1>
9+
<div class="content">
10+
{{ .Content }}
11+
</div>
12+
13+
{{ range.Pages }}
14+
{{ .Render "summary" }}
15+
{{ end }}
16+
17+
{{ end }}

0 commit comments

Comments
 (0)