summaryrefslogtreecommitdiff
path: root/reveal.js/evalg.html
blob: d68a345cf3995e6f233e03dba768a8c83de6825f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<!doctype html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>Utviklerforum: eValg 3</title>
        <meta name="author" content="Simeon Simeonov">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">

        <link rel="stylesheet" href="dist/reset.css">
        <link rel="stylesheet" href="dist/reveal.css">

        <link rel="stylesheet" href="dist/theme/serif.css" id="theme">

        <!-- Theme used for syntax highlighting of code -->
        <link rel="stylesheet" href="plugin/highlight/monokai.css" id="highlight-theme">
    </head>
    <body>
        <div class="reveal">

            <!-- Any section element inside of this container is displayed as a slide -->
            <div class="slides">
                <section>
                    <h1>eValg 3</h1>
                    <h3>Utviklerforum (28.11.2019)</h3>
                    <br/>
                    <p>Simeon Simeonov (<em>sgs</em> @ USITINT)</p>
                </section>

                <section>
                    <h2>Agenda</h2>
                    <br/>
                    <ul>
                        <li><p>Introduction</p></li>
                        <li><p>Components</p></li>
                        <li><p>Development</p></li>
                        <li><p>Q &amp; A</p></li>
                    </ul>
                </section>

                <section>
                    <h2>Introduction</h2>
                    <p><em>eValg 3</em></p>
                    <ul>
                        <li><p>Development started in 2017 and then again in 2018</p></li>
                        <li><p>The last trial election (https://valg-pilot.uio.no) ended 15.11.2019</p></li>
                        <li><p>Currently the eValg team consists of two developers (<em>skh</em>, <em>sgs</em>)</p></li>
                    </ul>
                </section>


                <section>
                    <section>
                        <h2>Components</h2>
                        <br/>
                        <ul>
                            <li><p>Backend</p></li>
                            <li><p>Dataporten</p></li>
                            <li><p>Frontend</p></li>
                        </ul>
                    </section>

                    <section>
                        <h3>Backend</h3>
                        <ul>
                            <li><p>General: Python >= 3.6, Flask, SQLAlchemy</p></li>
                            <li><p>DB: Alembic, SQLAlchemy-continuum, Flask-migrate</p></li>
                            <li><p>Signing & encryption: pynacl</p></li>
                            <li><p>Querying (GraphQL): graphene, graphene-sqlalchemy</p></li>
                            <li><p>Others: pytz, sentry_sdk, python-json-logger and many more</p></li>
                        </ul>
                    </section>

                    <section>
                        <h3>Dataporten</h3>
                        <ul>
                            <li><p>OpenID Connect: Moved from Authorization code flow to Implicit flow (id_token token) in 2018</p></li>
                        </ul>
                    </section>

                    <section>
                        <h3>Frontend</h3>
                        <ul>
                            <li><p>General: React, react-oidc, GraphQL</p></li>
                            <li><p>Encryption: TweetNaCl - a crypto library in 100 tweets</p></li>
                            <li><p>Many, many more libraries and packages</p></li>
                        </ul>
                    </section>

                </section>


                <section>

                    <section>
                        <h2>Development</h2>
                        <br/>
                        <ul>
                            <li><p>Improvements</p></li>
                            <li><p>Goals &amp; challenges</p></li>
                        </ul>
                    </section>

                    <section>
                        <h3>Improvements</h3>
                        <ul>
                            <li><p>Testing (<em>pytest</em>) & CI (<em>Jenkins</em>) - the best in USITINT so far?!? :)</p></li>
                            <li><p>No more FNR* and cross domain access. #GDPR</p></li>
                            <li><p>No more external programs (<em>GnuPG</em>, <em>evalg.jar</em>) and envelopes ...</p></li>
                            <li><p>Insight in all possible election paths in case of drawing</p></li>
                            
                        </ul>
                        <p><small><em>* - work in progress</em></small></p>
                    </section>

                    <section>
                        <h3>Goals &amp; challenges</h3>
                        <ul>
                            <li><p>Anyone should be able to create an election</p></li>
                            <li><p>No private key shall ever live in the backend</p></li>
                            <li><p>Log &amp; audit all changes</p></li>
                            <li><p>It is never too late to change a pollbook</p></li>
                            <li><p>It is never too late to master public-key cryptography ... :)</p></li>
                        </ul>
                    </section>

                </section>


                <section>
                    <h2>Q &amp; A</h2>
                    <h3>???</h3>
                    <p><em>“Old questions are not answered—they only go out of fashion”</em> - Donald Schön</p>
                </section>
            </div>
        </div>

        <script src="dist/reveal.js"></script>
        <script src="plugin/zoom/zoom.js"></script>
        <script src="plugin/notes/notes.js"></script>
        <script src="plugin/search/search.js"></script>
        <script src="plugin/markdown/markdown.js"></script>
        <script src="plugin/highlight/highlight.js"></script>
        <script>

            // Also available as an ES module, see:
            // https://revealjs.com/initialization/
            Reveal.initialize({
                controls: true,
                progress: true,
                center: true,
                hash: true,

                // Learn about plugins: https://revealjs.com/plugins/
                plugins: [ RevealZoom, RevealNotes, RevealSearch, RevealMarkdown, RevealHighlight ]
            });

        </script>

    </body>
</html>