first commit for the hack.lu 2014 talk
authorAaron Kaplan <aaron@lo-res.org>
Sun, 19 Oct 2014 20:57:13 +0000 (22:57 +0200)
committerAaron Kaplan <aaron@lo-res.org>
Sun, 19 Oct 2014 20:57:13 +0000 (22:57 +0200)
20 files changed:
presentations/HACK.LU-2014/presentation/Makefile [new file with mode: 0644]
presentations/HACK.LU-2014/presentation/agenda.md [new file with mode: 0644]
presentations/HACK.LU-2014/presentation/common/cipherStringB.tex [new file with mode: 0644]
presentations/HACK.LU-2014/presentation/common/commands.tex [new file with mode: 0644]
presentations/HACK.LU-2014/presentation/common/style.tex [new file with mode: 0644]
presentations/HACK.LU-2014/presentation/common/system.tex [new file with mode: 0644]
presentations/HACK.LU-2014/presentation/img/confused.png [new file with mode: 0644]
presentations/HACK.LU-2014/presentation/img/draft.png [new file with mode: 0644]
presentations/HACK.LU-2014/presentation/img/logo_cert_at.png [new file with mode: 0644]
presentations/HACK.LU-2014/presentation/img/logo_cert_pt.jpg [new file with mode: 0644]
presentations/HACK.LU-2014/presentation/img/logo_cert_pt.png [new file with mode: 0644]
presentations/HACK.LU-2014/presentation/img/logo_enisa.jpg [new file with mode: 0644]
presentations/HACK.LU-2014/presentation/img/metalab-world-domination.jpg [new file with mode: 0644]
presentations/HACK.LU-2014/presentation/img/neboltai.jpeg [new file with mode: 0644]
presentations/HACK.LU-2014/presentation/img/neboltai.png [new file with mode: 0644]
presentations/HACK.LU-2014/presentation/img/nsa.png [new file with mode: 0644]
presentations/HACK.LU-2014/presentation/neboltai.tex [new file with mode: 0644]
presentations/HACK.LU-2014/presentation/styleheader.tex [new file with mode: 0644]
presentations/HACK.LU-2014/presentation/todo.md [new file with mode: 0644]
presentations/HACK.LU-2014/presentation/update-metadata-for-gitinfo [new file with mode: 0755]

diff --git a/presentations/HACK.LU-2014/presentation/Makefile b/presentations/HACK.LU-2014/presentation/Makefile
new file mode 100644 (file)
index 0000000..8358abd
--- /dev/null
@@ -0,0 +1,34 @@
+#pdf1:
+#      ./update-metadata-for-gitinfo
+#      #pandoc -f markdown_github -o notes.pdf notes.md        
+
+all:   latex pdf
+
+latex: agenda.tex
+
+agenda.tex: agenda.md
+       pandoc  --listings -T "Bettercrypto workshop" -s -f markdown_github+pandoc_title_block+raw_tex -t latex -o agenda.tex agenda.md
+
+slides.tex: agenda.md
+       pandoc  --listings -T "Bettercrypto AH workshop" -s -f markdown_github+pandoc_title_block+raw_tex -t beamer -o slides.tex agenda.md
+
+pdf: agenda.pdf slides.pdf
+
+agenda.pdf: agenda.tex 
+       # add the proper stylesheets
+       cat styleheader.tex > r
+       tail -n +2 agenda.tex  >> r
+       mv r agenda.tex
+       # compute version info
+       ./update-metadata-for-gitinfo
+       # update the toc
+       pdflatex agenda.tex
+       pdflatex agenda.tex
+
+slides.pdf: slides.tex
+       perl -p -i -e 's/\\usepackage\{amssymb,amsmath\}/\\usetheme{Berlin}\n\\usepackage{amssymb,amsmath}/g'  slides.tex 
+       pdflatex slides.tex
+
+clean: 
+       rm -f agenda.pdf  agenda.tex agenda.log agenda.out agenda.aux agenda.toc slides.tex
+       rm -f slides.pdf  slides.nav slides.log slides.out slides.vrb slides.toc slides.aux slides.snm
diff --git a/presentations/HACK.LU-2014/presentation/agenda.md b/presentations/HACK.LU-2014/presentation/agenda.md
new file mode 100644 (file)
index 0000000..2516f80
--- /dev/null
@@ -0,0 +1,218 @@
+% Bettercrypto - Applied Crypto Hardening for Sysadmins
+% L. Aaron Kaplan <kaplan@cert.at> ;  David Durvaux <david.durvaux@gmail.com>; Aaron Zauner <azet@azet.org>
+% 2014/10/21
+---------------------------
+
+
+
+# Part 1:  Intro to the project
+
+## Welcome 
+
+![Neboltai](img/neboltai.png)
+
+%{\centering
+%  \includegraphics[width=.7\textwidth]{img/neboltai.png}\par
+%  \vbox{\emph{Do not talk unencrypted}}
+%}
+
+---
+# Overview 
+
+  1. Intro & Motivation
+  2. How we got started, how we work, what's there, what's missing, 
+     how to use the guide
+  3. History of Crypto in a nutshell
+  4. Theory
+  4. 10:10 __break__
+  5. Theory (cont.)
+  6. Attacks
+  7. Current trends (IETF, ...)
+  7. wrap up
+  9. 11:45 __lunch__
+    
+
+# Prerequisites
+
+  * Participants should have a basic knowledge of System administration and be
+familiar with configuring Apache, nginx, etc.
+  * Basic knowledge of crypto will help.
+
+# Motivation
+
+![NSA](img/nsa.png)
+
+# Motivation (2)
+
+Please note:
+
+  * the leaks also revealed to non-democratic countries precise recipies on how to do country wide or even Internet-wide surveillance, traffic inspection and -modification, etc.
+  * If politicians in other countries did not know how to do this, now they know!
+  * If criminals did not know how to do this, now they know!
+
+# The reaction
+
+\centering { \textbf{Don't give them anything for free}\par
+  It's your home, you fight! }
+
+
+# The reaction (2)
+
+  * We as humans are used to certain **modes** in communications:
+spoken words tend to:
+    * be forgotten over time ("data expires")
+    * get modified/changed whenever "copied" (repeated)
+    * get changed/modified over time  ("forgetfullness")
+    * we tend to be not so harsh about them ("forgive")
+    * have a limited geographic range ("town talk")
+    * be very decentralized ("accoustic range")
+  * digital traces/data tends to be:
+    * stored for ever. Never modified by default
+    * used against you in the future
+    * very centralized
+    * copied very easily
+    * always searchable in O(log(n)) 
+    
+  
+# The reaction (3)
+
+\centering { \textbf{Crypto is the only thing that might still help}
+\par
+a.k.a.:\par
+       ``\textit{The Bottom Line Is That Encryption Does Work}'', Edward Snowden
+}
+
+# But where?
+
+  * Ca. August 2013: Adi Kriegisch asks Aaron where he could find good recommendations on SSL settings.
+  * Does that exist? At that time:
+    - no ssllabs cookbook
+    - only theoretical recommendations (ENISA, eCrypt II, NIST)
+    - ioerror's duraconf settings are outdated
+    - no practical copy & paste-able settings exist?
+
+
+# Project plan
+
+![Project plan](img/metalab-world-domination.jpg)
+
+
+# Project plan  (srsly)
+
+  * Do at least something against the **Cryptocalypse**
+  * Check SSL, SSH, PGP crypto SeIngs in the most common services and certificates:
+    –  Apache, Nginx, lighthNp
+       –  IMAP/POP servers (dovecot, cyrus, ...) –  openssl.conf
+       –  Etc.
+  * Write down our experinces as guide
+  * Create easy, copy & paste-able settings which are "OK" (as far as we know) for sysadmins.
+  * Keep the guide short. There are many good recommendations out there written by cryptographers for cryptographers
+  * Many eyes must check this!
+  * Make it open source
+
+  
+
+
+# Why is this relevant for you?
+
+  * You run networks and services. These are targets. If you believe it or not.
+  * You produce code. Make sure it uses good crypto coding practices
+
+  * However good crypto is hard to achieve
+  * Crypto does not solve all problems, but it helps
+
+
+# Who?
+
+Wolfgang Breyha (uni VIE), David Durvaux (CERT.be), Tobias Dussa (KIT-CERT), L. Aaron Kaplan (CERT.at), Christian Mock (coretec), Daniel Kovacic (A-Trust), Manuel Koschuch (FH Campus Wien), Adi Kriegisch (VRVis), Ramin Sabet (A-Trust), Aaron Zauner (azet.org), Pepi Zawodsky (maclemon.at), IAIK, A-Sit, ...  
+
+
+# Contents so far
+
+  * Intro
+  * Disclaimer 
+  * Methods 
+  * Theory
+    * Elliptic Curve Cryptography 
+    * Keylengths 
+    * Random Number Generators 
+    * Cipher suites – general overview & how to choose one
+  * Recommendations on practical settings 
+  * Tools 
+  * Links 
+  * Appendix
+
+
+# Methods and Principles
+
+C.O.S.H.E.R principle:
+  * **C**ompletely
+  * **O**pen 
+  * **S**ource
+  * **H**eaders
+  * **E**ngineering and
+  * **R**esearch
+
+Methods:
+  * Public review
+  * commits get **discussed**
+  * recommendations **need** references (like wikipedia)
+  * Every commit gets logged
+  * We need your review!
+
+
+# How to commit
+
+  * https://git.bettercrypto.org (master, read-only)
+  * https://github.com/BetterCrypto/ (please clone this one & send PRs)
+
+How?
+  1. discuss the changes first on the mailinglist
+  2. clone 
+  3. follow the templates 
+  3. send pull requests
+  3. **split the commit into many smaller commits **
+  4. don't be cross if something does not get accepted. 
+  5. be ready for discussion
+# Theory part
+
+\[
+i \hbar \frac{\partial}{\partial t}\Psi = \hat H \Psi
+\]
+
+
+# Some thoughts on ECC
+
+  * Currently this is under heavy debate
+  * Trust the Math
+    * eg. NIST P-256 (http://safecurves.cr.yp.to/rigid.html)
+    * Coefficients generated by hashing the unexplained seed c49d3608 86e70493 6a6678e1 139d26b7 819f7e90.
+  * Might have to change settings tomorrow
+  * Most Applications only work with NIST-Curves
+  * Bottom line: we leave the choice of ECC yes or no to the reader. You might have to adapt again.
+  * However, many server operators tend towards ECC  (speed)
+
+# Keylengths
+
+  * http://www.keylength.com/ 
+  * Recommended Keylengths, Hashing algorithms, etc.
+  * Currently:
+    * RSA: >= 3248 bits (Ecrypt II)    
+    * ECC: >= 256      
+    * SHA 2+ (SHA 256,…)
+    * AES 128 is good enough
+
+# AES 128? Is that enough?
+
+\centering{,,On the choice between AES256 and AES128: I would never consider using AES256, just like I don’t wear a helmet when I sit inside my car. It’s too much bother for the epsilon improvement in security.''\par
+— Vincent Rijmen in a personal mail exchange Dec 2013
+}
+  * Some theoretical attacks on AES-256
+
+
+
+
+
+
+
diff --git a/presentations/HACK.LU-2014/presentation/common/cipherStringB.tex b/presentations/HACK.LU-2014/presentation/common/cipherStringB.tex
new file mode 100644 (file)
index 0000000..eb5e55f
--- /dev/null
@@ -0,0 +1 @@
+\seqsplit{EDH+CAMELLIA:EDH+aRSA:EECDH+aRSA+AESGCM:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH:+CAMELLIA256:+AES256:+CAMELLIA128:+AES128:+SSLv3:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!DSS:!RC4:!SEED:!ECDSA:CAMELLIA256-SHA:AES256-SHA:CAMELLIA128-SHA:AES128-SHA}
diff --git a/presentations/HACK.LU-2014/presentation/common/commands.tex b/presentations/HACK.LU-2014/presentation/common/commands.tex
new file mode 100644 (file)
index 0000000..95ef7d3
--- /dev/null
@@ -0,0 +1,27 @@
+%%%
+%%% commands.tex
+%%% Document-specific commands
+%%%
+
+% Outputs red TODOs in the document. Requires \usepackage{color}.
+%
+% Usage: \todo{Document the TODO command.}
+%
+% Comment out second line to disable.
+\AtBeginDocument{\providecommand{\todo}[1]{}}
+\newcommand*{\todo}[1]{{\color{Red} TODO: {#1}}}
+
+% Creating a horizontal rule
+\newcommand*{\HorRule}{%
+  \color{darkblue}%
+  \rule{\linewidth}{1pt}%
+}
+
+%%% CIPHERSTRING
+\usepackage{seqsplit} % Use Sequence split. Basically it inserts between every character pair a box with zero width to allow linebreaks everywhere. Better solution wanted, but is there any better?
+\CatchFileDef{\cipherStringB}{common/cipherStringB.tex}{\endlinechar=-1 }%
+
+%%% Local Variables: 
+%%% mode: latex
+%%% TeX-master: "../applied-crypto-hardening"
+%%% End: 
diff --git a/presentations/HACK.LU-2014/presentation/common/style.tex b/presentations/HACK.LU-2014/presentation/common/style.tex
new file mode 100644 (file)
index 0000000..c821c8e
--- /dev/null
@@ -0,0 +1,164 @@
+%%%
+%%% style.tex
+%%% Stylistic configuration
+%%%
+
+% Colors
+\definecolor{green}{RGB}{32,113,10}
+\definecolor{orange}{RGB}{251,111,16}
+\definecolor{red}{RGB}{247,56,0}
+\definecolor{blue}{RGB}{0,28,128}
+\definecolor{lightgreen}{RGB}{187,218,216}
+\definecolor{intersectgreen}{RGB}{103,133,155}
+\definecolor{darkblue}{RGB}{76,87,117}
+\definecolor{Brown}{cmyk}{0,0.81,1,0.60}
+\definecolor{OliveGreen}{cmyk}{0.64,0,0.95,0.40}
+\definecolor{CadetBlue}{cmyk}{0.62,0.57,0.23,0}
+\definecolor{lightlightgray}{gray}{0.9}
+
+% Draft stuff
+\ifdraft{
+  % Ensure that everything is neatly set up for us
+  \AtBeginDocument{
+    \def\draftInfo{%
+      Draft revision\gitVtags: \gitAbbrevHash{} %
+      (\gitCommitterIsoDate) \gitCommitterName}
+    \sbox{\draftWatermark}{%
+      \includegraphics[width=\paperwidth]{img/draft}}
+    \sbox{\draftPageLine}{%
+      \colorbox{black!10}{%
+        % enlarge box vertically by 2/3 lines
+        \raisebox{0pt}%
+        [\dimexpr .33\baselineskip + \height]%
+        [\dimexpr .33\baselineskip + \depth]{%
+          \makebox[\paperwidth]{\color{black!50}\draftInfo}}}}
+  }
+}{}
+
+
+%%% Fonts
+% Fonts are loaded, now is the right time for mictorype.
+\microtypesetup{stretch=9,shrink=15,step=3,tracking=smallcaps,letterspace=75}
+% makes default font sans-serif
+ \renewcommand{\familydefault}{\sfdefault}
+
+% Captions
+\setcapindent{1em}
+\addtokomafont{caption}{\small\itshape}
+\addtokomafont{captionlabel}{\bfseries}
+
+% Section headers
+\addtokomafont{disposition}{\color{darkblue}\bfseries}
+
+% Page foot
+\setkomafont{pagefoot}{\normalfont\sffamily\footnotesize}
+\ifoot%
+[Applied Crypto Hardening\ifdraft{ % Space!
+  \textbullet{} \draftInfo}{}]%
+{Applied Crypto Hardening \ifdraft{ % Space!
+    \textbullet{} \draftInfo}{}}
+\cfoot[]{}
+\ofoot%
+[page \thepage\ of \pageref{LastPage}]%
+{page \thepage\ of \pageref{LastPage}}
+
+% Epigraph / dictum
+\newcommand*{\epigraph}[3][]{\dictum[#3]{#2}\bigskip}
+\renewcommand*{\dictumrule}{}
+\renewcommand*{\dictumauthorformat}[1]{--- #1}
+\addtokomafont{dictumtext}{\itshape}
+\setkomafont{dictumauthor}{\normalfont}
+\renewcommand{\dictumwidth}{8cm}
+
+% Graphics
+%tell TeX where to look for graphics/logos
+\graphicspath{ {/img/} }
+
+% This block is for listings
+\usepackage[framemethod=TikZ]{mdframed} % mdframed is used to draw a grey box
+\mdfdefinestyle{listingstyle}{
+  backgroundcolor=black!10,outerlinewidth=0,outerlinecolor=black,
+  innerleftmargin=9pt,innerrightmargin=0,innertopmargin=9pt,innerbottommargin=2pt
+}
+%\usepackage{amssymb}% for \curvearrowright
+% Insert a grey box behind the listing for uniform background color (The \cipherstring would the listing and the background would turn white)
+\BeforeBeginEnvironment{lstlisting}{\vspace{0.2cm}\begin{mdframed}[style=listingstyle]}
+\AfterEndEnvironment{lstlisting}{\end{mdframed}}
+% Listings
+\lstset{
+  basicstyle=\ttfamily,
+  keywordstyle=\color{OliveGreen},
+  commentstyle=\color{gray},
+  backgroundcolor=\color{lightlightgray},
+  upquote=true,
+  showstringspaces=false,
+  tabsize=2,
+  captionpos=b,
+  breaklines=true,
+  breakatwhitespace=false,
+  inputencoding=utf8,
+  breakatwhitespace=false,
+  showspaces=false,
+  columns=fullflexible,                   % Column format: no spaces are inserted for monospaced appearance
+  breakindent=10pt,
+  morekeywords={__global__, __device__},% 
+  escapechar=\`,
+  escapeinside={\%*}{*)},                 % Escape TeX commands inside %* and *)
+%  prebreak=\mbox{$\curvearrowright$},     % Disply curved arrow before linebreak
+  prebreak=\small\symbol{'134},
+}
+
+% red warning box (for SSH section)
+\mdfdefinestyle{warningboxstyle}{
+  backgroundcolor=pink!20,
+  innerleftmargin=9pt,innerrightmargin=9pt,innertopmargin=9pt,innerbottommargin=9pt
+}
+
+% Hyperref styles
+%\hypersetup{%
+%  breaklinks,%
+%  colorlinks,%
+%  linkcolor=darkblue,citecolor=blue,urlcolor=blue,%
+%  breaklinks=true,%
+%  unicode,%
+%  pdfnewwindow=true,%
+%  final
+%}
+%\urlstyle{same}
+
+% Bibliography
+\bibliographystyle{alphalink}
+
+% Disable single lines at the start of a paragraph (Schusterjungen)
+\clubpenalty = 10000
+% Disable single lines at the end of a paragraph (Hurenkinder)
+\widowpenalty = 10000 
+\displaywidowpenalty = 10000 % formulas
+\setlength{\textfloatsep}{\baselineskip}
+\setlength{\floatsep}{\baselineskip}
+
+\frenchspacing
+\raggedbottom
+
+% customized spaces between text and footnotes
+\setlength{\skip\footins}{2\baselineskip}
+
+% Better float parameters: (from the TeX FAQ)
+\renewcommand{\topfraction}{.85}
+\renewcommand{\bottomfraction}{.7}
+\renewcommand{\textfraction}{.15}
+\renewcommand{\floatpagefraction}{.66}
+\renewcommand{\dbltopfraction}{.66}
+\renewcommand{\dblfloatpagefraction}{.66}
+\setcounter{topnumber}{9}
+\setcounter{bottomnumber}{9}
+\setcounter{totalnumber}{20}
+\setcounter{dbltopnumber}{9}
+
+% Starred lists (\begin{itemize*}) for less space between items
+\usepackage{mdwlist}
+
+%%% Local Variables: 
+%%% mode: latex
+%%% TeX-master: "../applied-crypto-hardening"
+%%% End: 
diff --git a/presentations/HACK.LU-2014/presentation/common/system.tex b/presentations/HACK.LU-2014/presentation/common/system.tex
new file mode 100644 (file)
index 0000000..bc0a1b9
--- /dev/null
@@ -0,0 +1,98 @@
+%%%
+%%% system.tex
+%%% Necessary packages and sytem changes
+%%%
+% Document Encoding. important.
+\usepackage[utf8]{inputenc}
+
+% changes font encoding to T1
+\usepackage[T1]{fontenc}
+\usepackage{textcomp}
+
+% For searchable pdfs
+\input glyphtounicode
+\pdfgentounicode=1
+
+\usepackage{fixltx2e}
+
+% Setup KOMA script
+\usepackage{scrhack}
+\KOMAoptions{paper=a4%
+  ,fontsize=10pt%
+  ,DIV=12%
+  ,parskip=true%
+}
+
+% Language
+\usepackage[english]{babel}
+
+% Color
+\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
+\usepackage{color}
+
+% Packages for fonts
+\usepackage{lmodern}
+\usepackage[defaultsans]{opensans}
+\usepackage[final,babel=true]{microtype}[2011/08/18]
+
+\usepackage{pifont}
+\newcommand{\yes}{\textcolor{green}{\ding{51}}}
+\newcommand{\no}{\textcolor{red}{\ding{55}}}
+
+% Figures and graphics
+\usepackage[final]{graphicx}
+\usepackage{epstopdf}
+\usepackage{float}
+\usepackage{subfig}
+\usepackage{placeins}
+\usepackage{wrapfig}
+\usepackage{tikz}
+\usetikzlibrary{shapes,arrows}
+
+% Tables
+\usepackage{longtable}
+\usepackage{booktabs}
+\renewcommand{\arraystretch}{1.25}
+\usepackage{multicol}
+
+% Verbatims and listings
+\usepackage{fancyvrb}
+\usepackage[final]{listings}
+
+% The page
+\usepackage[footsepline]{scrpage2}
+\usepackage{lastpage}
+
+% Misc
+\usepackage{gitinfo}
+\usepackage{catchfile}
+%\usepackage{hyperref}
+
+% for development
+\usepackage{ifdraft}
+\ifdraft{%
+  %% Heavy debugging
+  %\usepackage{showframe}
+  \usepackage{blindtext}
+  \usepackage{eso-pic}
+  \newsavebox{\draftPageLine}
+  \newsavebox{\draftWatermark}
+  \AddToShipoutPicture{%
+    \AtPageLowerLeft{\usebox{\draftWatermark}}
+    \AtPageUpperLeft{%
+      \raisebox{-\height}[\height][0pt]{\usebox{\draftPageLine}}}%
+    \AtPageLowerLeft{%
+      \raisebox{\depth}[\height][0pt]{\usebox{\draftPageLine}}}%
+  }
+  % \AtEndDocument{\listoftodos}
+}{
+  \let\blindtext\relax
+  \let\Blindtext\relax
+  \let\blinddocument\relax
+  \let\Blinddocument\relax
+}
+
+%%% Local Variables: 
+%%% mode: latex
+%%% TeX-master: "../applied-crypto-hardening"
+%%% End: 
diff --git a/presentations/HACK.LU-2014/presentation/img/confused.png b/presentations/HACK.LU-2014/presentation/img/confused.png
new file mode 100644 (file)
index 0000000..b8b7de5
Binary files /dev/null and b/presentations/HACK.LU-2014/presentation/img/confused.png differ
diff --git a/presentations/HACK.LU-2014/presentation/img/draft.png b/presentations/HACK.LU-2014/presentation/img/draft.png
new file mode 100644 (file)
index 0000000..3c3ea61
Binary files /dev/null and b/presentations/HACK.LU-2014/presentation/img/draft.png differ
diff --git a/presentations/HACK.LU-2014/presentation/img/logo_cert_at.png b/presentations/HACK.LU-2014/presentation/img/logo_cert_at.png
new file mode 100644 (file)
index 0000000..7e038c9
Binary files /dev/null and b/presentations/HACK.LU-2014/presentation/img/logo_cert_at.png differ
diff --git a/presentations/HACK.LU-2014/presentation/img/logo_cert_pt.jpg b/presentations/HACK.LU-2014/presentation/img/logo_cert_pt.jpg
new file mode 100644 (file)
index 0000000..542c270
Binary files /dev/null and b/presentations/HACK.LU-2014/presentation/img/logo_cert_pt.jpg differ
diff --git a/presentations/HACK.LU-2014/presentation/img/logo_cert_pt.png b/presentations/HACK.LU-2014/presentation/img/logo_cert_pt.png
new file mode 100644 (file)
index 0000000..a5b89d5
Binary files /dev/null and b/presentations/HACK.LU-2014/presentation/img/logo_cert_pt.png differ
diff --git a/presentations/HACK.LU-2014/presentation/img/logo_enisa.jpg b/presentations/HACK.LU-2014/presentation/img/logo_enisa.jpg
new file mode 100644 (file)
index 0000000..7530f98
Binary files /dev/null and b/presentations/HACK.LU-2014/presentation/img/logo_enisa.jpg differ
diff --git a/presentations/HACK.LU-2014/presentation/img/metalab-world-domination.jpg b/presentations/HACK.LU-2014/presentation/img/metalab-world-domination.jpg
new file mode 100644 (file)
index 0000000..e9291f9
Binary files /dev/null and b/presentations/HACK.LU-2014/presentation/img/metalab-world-domination.jpg differ
diff --git a/presentations/HACK.LU-2014/presentation/img/neboltai.jpeg b/presentations/HACK.LU-2014/presentation/img/neboltai.jpeg
new file mode 100644 (file)
index 0000000..0bde889
Binary files /dev/null and b/presentations/HACK.LU-2014/presentation/img/neboltai.jpeg differ
diff --git a/presentations/HACK.LU-2014/presentation/img/neboltai.png b/presentations/HACK.LU-2014/presentation/img/neboltai.png
new file mode 100644 (file)
index 0000000..83d1172
Binary files /dev/null and b/presentations/HACK.LU-2014/presentation/img/neboltai.png differ
diff --git a/presentations/HACK.LU-2014/presentation/img/nsa.png b/presentations/HACK.LU-2014/presentation/img/nsa.png
new file mode 100644 (file)
index 0000000..4c229ec
Binary files /dev/null and b/presentations/HACK.LU-2014/presentation/img/nsa.png differ
diff --git a/presentations/HACK.LU-2014/presentation/neboltai.tex b/presentations/HACK.LU-2014/presentation/neboltai.tex
new file mode 100644 (file)
index 0000000..256ef23
--- /dev/null
@@ -0,0 +1,11 @@
+% move this epigraph to a fitting place. I don't see why it fits here inside of the begin figure env. ~~ AK
+%\epigraph{``[...] be conservative in what you do, be liberal in what
+%you accept from others.''}{The robustness priciple or ``Postel's Law''~\cite{rfc761}}
+{\centering
+  \includegraphics[width=.9\textwidth]{neboltai.png}\par
+  \vbox{\emph{Do not talk unencrypted}}
+}
+%%% Local Variables: 
+%%% mode: latex
+%%% TeX-master: "applied-crypto-hardening"
+%%% End: 
diff --git a/presentations/HACK.LU-2014/presentation/styleheader.tex b/presentations/HACK.LU-2014/presentation/styleheader.tex
new file mode 100644 (file)
index 0000000..7477229
--- /dev/null
@@ -0,0 +1,10 @@
+%%%
+%%% Bettercrypto presentation for hack.lu 2014
+%%% 
+%%%
+\RequirePackage{fix-cm}
+%\documentclass[draft]{scrartcl}
+\documentclass{scrreprt}   % uncomment this if you want to make a final version (and remove the DRAFT watermark)
+\input{common/system}
+\input{common/style}
+\input{common/commands}
diff --git a/presentations/HACK.LU-2014/presentation/todo.md b/presentations/HACK.LU-2014/presentation/todo.md
new file mode 100644 (file)
index 0000000..e385160
--- /dev/null
@@ -0,0 +1,7 @@
+
+# Structure
+
+Define
+
+# detail
+
diff --git a/presentations/HACK.LU-2014/presentation/update-metadata-for-gitinfo b/presentations/HACK.LU-2014/presentation/update-metadata-for-gitinfo
new file mode 100755 (executable)
index 0000000..6260a54
--- /dev/null
@@ -0,0 +1,27 @@
+#!/bin/sh
+GITINFO_INDEX_FILENAME="gitHeadInfo.gin"
+GITINFO_GIT_LOG_PRETTY_FORMAT=$(cat <<'__EOS__'
+\usepackage[%
+        shash={%h},
+        lhash={%H},
+        authname={%an},
+        authemail={%ae},
+        authsdate={%ad},
+        authidate={%ai},
+        authudate={%at},
+        commname={%an},
+        commemail={%ae},
+        commsdate={%ad},
+        commidate={%ai},
+        commudate={%at},
+        refnames={%d}
+]{gitsetinfo}
+__EOS__
+)
+git log -1 --date=short \
+               --pretty=format:"${GITINFO_GIT_LOG_PRETTY_FORMAT}" \
+               HEAD  > ./${GITINFO_INDEX_FILENAME}
+
+