[Assignment-5] Setup Assignment 5 - Software Security - Teil 1
This commit is contained in:
parent
63454e349d
commit
d04c2f8e55
3 changed files with 76 additions and 1 deletions
|
@ -9,7 +9,8 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
assignment: [
|
||||
"Assignment 4 - Protokollsicherheit (Praxis)"
|
||||
"Assignment 4 - Protokollsicherheit (Praxis)",
|
||||
"Assignment 5 - Software Security - Teil 1"
|
||||
]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
|
73
Assignment 5 - Software Security - Teil 1/abgabe.tex
Normal file
73
Assignment 5 - Software Security - Teil 1/abgabe.tex
Normal file
|
@ -0,0 +1,73 @@
|
|||
\documentclass[11pt]{scrartcl}
|
||||
|
||||
\usepackage[utf8]{inputenc}
|
||||
\usepackage[T1]{fontenc}
|
||||
\usepackage[ngerman]{babel}
|
||||
\usepackage{lmodern}
|
||||
\usepackage{graphicx}
|
||||
\usepackage{listings}
|
||||
\usepackage{xspace}
|
||||
\usepackage{amsmath}
|
||||
\usepackage{algorithm}
|
||||
\usepackage{algpseudocode}
|
||||
\usepackage{xifthen}
|
||||
\usepackage{xcolor}
|
||||
\usepackage[a4paper,lmargin={2cm},rmargin={2cm},tmargin={2.5cm},bmargin = {2.5cm},headheight = {4cm}]{geometry}
|
||||
\usepackage{amsmath,amssymb,amstext,amsthm}
|
||||
\usepackage[shortlabels]{enumitem}
|
||||
\usepackage[headsepline]{scrlayer-scrpage}
|
||||
\pagestyle{scrheadings}
|
||||
\usepackage{titling}
|
||||
\usepackage{etoolbox}
|
||||
\usepackage{tikz}
|
||||
|
||||
\usetikzlibrary{shapes, arrows, calc, automata, arrows.meta, positioning,decorations.pathmorphing,backgrounds,decorations.markings,decorations.pathreplacing, graphs}
|
||||
\usetikzlibrary{matrix,shapes,arrows,positioning,chains, calc}
|
||||
\usetikzlibrary{arrows.meta,matrix,shapes,arrows,positioning,chains, calc}
|
||||
|
||||
\tikzset{%
|
||||
initial text={},
|
||||
state/.style={circle, draw, minimum size=.6cm},
|
||||
every initial by arrow/.style={-stealth},
|
||||
every loop/.append style={-stealth},
|
||||
>=stealth
|
||||
}
|
||||
|
||||
\ohead{\parbox[t]{.5\linewidth}{\raggedleft \theauthor}}
|
||||
\ihead{System Security, SoSe 24, Assignment \thesheetnr}
|
||||
|
||||
% Sheet number
|
||||
\newcounter{sheetnr}
|
||||
\newcommand{\sheetnr}[1]{\setcounter{sheetnr}{#1}}
|
||||
|
||||
% Exercise environments
|
||||
\newenvironment{exercise}[2][]{\section*{#2\expandafter\ifstrempty\expandafter{#1}{}{\ #1}}}{}
|
||||
\newenvironment{subexercises}{\begin{enumerate}[a), font=\bfseries, wide, labelindent=0pt]}{\end{enumerate}}
|
||||
\newenvironment{subsubexercises}{\begin{enumerate}[i), font=\bfseries, wide, labelindent=0pt]}{\end{enumerate}}
|
||||
|
||||
% Makros
|
||||
% MACRO for whole diagram
|
||||
% #1: total width of diagram
|
||||
% #2: total height of diagram
|
||||
% #3: nodes, paths, ...
|
||||
\newcommand\protocolflow[3]{
|
||||
\begin{center}
|
||||
\begin{tikzpicture}[x=#1cm,y=#2cm]
|
||||
#3
|
||||
\end{tikzpicture}
|
||||
\end{center}
|
||||
}
|
||||
% MACRO for path line shortening
|
||||
% #1: start coordinate
|
||||
% #2: target coordinate
|
||||
% #3: text above arrow
|
||||
\newcommand{\package}[3]{
|
||||
\path[*-{latex[width=5pt, length=5pt]}] (#1) edge node [above] {#3} (#2);
|
||||
}
|
||||
|
||||
% Anpassen --> %
|
||||
\author{Benjamin Haschka\\Sascha Tommasone\\Paul Zinselmeyer}
|
||||
\sheetnr{5}
|
||||
% <-- Anpassen %
|
||||
\begin{document}
|
||||
\end{document}
|
|
@ -6,6 +6,7 @@
|
|||
outputs = { self, nixpkgs }: let
|
||||
assignments = [
|
||||
"Assignment 4 - Protokollsicherheit (Praxis)"
|
||||
"Assignment 5 - Software Security - Teil 1"
|
||||
];
|
||||
|
||||
forAllSystems = function:
|
||||
|
|
Loading…
Reference in a new issue