From 1f7d4663789304f77f30be42564cfd6d3259754e Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Wed, 27 Nov 2019 23:53:06 +0100 Subject: evalg.html and pybofh.html added --- reveal.js/evalg.html | 160 ++++++++++++++++++++++++++++++++++++++++++++++++ reveal.js/pybofh.html | 127 ++++++++++++++++++++++++++++++++++++++ reveal.js/rabbitmq.html | 4 +- 3 files changed, 289 insertions(+), 2 deletions(-) create mode 100644 reveal.js/evalg.html create mode 100644 reveal.js/pybofh.html diff --git a/reveal.js/evalg.html b/reveal.js/evalg.html new file mode 100644 index 0000000..e163950 --- /dev/null +++ b/reveal.js/evalg.html @@ -0,0 +1,160 @@ + + + + + Utviklerforum: eValg 3 + + + + + + + + + + + +
+ + +
+
+

eValg 3

+

Utviklerforum (28.11.2019)

+
+

Simeon Simeonov (sgs @ USITINT)

+
+ +
+

Agenda

+
+
    +
  • Introduction

  • +
  • Components

  • +
  • Development

  • +
  • Q & A

  • +
+
+ +
+

Introduction

+

eValg 3

+
    +
  • Development started in 2017 and then again in 2018

  • +
  • The last trial election (https://valg-pilot.uio.no) ended 15.11.2019

  • +
  • Currently the eValg team consists of two developers (skh, sgs)

  • +
+
+ + +
+
+

Components

+
+
    +
  • Backend

  • +
  • Dataporten

  • +
  • Frontend

  • +
+
+ +
+

Backend

+
    +
  • General: Python >= 3.6, Flask, SQLAlchemy

  • +
  • DB: Alembic, SQLAlchemy-continuum, Flask-migrate

  • +
  • Signing & encryption: pynacl

  • +
  • Querying (GraphQL): graphene, graphene-sqlalchemy

  • +
  • Others: pytz, sentry_sdk, python-json-logger and many more

  • +
+
+ +
+

Dataporten

+
    +
  • OpenID Connect: Moved from Authorization code flow to Implicit flow (id_token token) in 2018

  • +
+
+ +
+

Frontend

+
    +
  • General: React, react-oidc, GraphQL

  • +
  • Encryption: TweetNaCl - a crypto library in 100 tweets

  • +
  • Many, many more libraries and packages

  • +
+
+ +
+ + +
+ +
+

Development

+
+
    +
  • Improvements

  • +
  • Goals & challenges

  • +
+
+ +
+

Improvements

+
    +
  • Testing (pytest) & CI (Jenkins) - the best in USITINT so far?!? :)

  • +
  • No more FNR* and cross domain access. #GDPR

  • +
  • No more external programs (GnuPG, evalg.jar) and envelopes ...

  • +
  • Insight in all possible election paths in case of drawing

  • + +
+

* - work in progress

+
+ +
+

Goals & challenges

+
    +
  • Anyone should be able to create an election

  • +
  • No private key shall ever live in the backend

  • +
  • Log & audit all changes

  • +
  • It is never too late to change a pollbook

  • +
  • It is never too late to master public-key cryptography ... :)

  • +
+
+ +
+ + +
+

Q & A

+

???

+

“Old questions are not answered—they only go out of fashion” - Donald Schön

+
+
+
+ + + + + + + diff --git a/reveal.js/pybofh.html b/reveal.js/pybofh.html new file mode 100644 index 0000000..44de97e --- /dev/null +++ b/reveal.js/pybofh.html @@ -0,0 +1,127 @@ + + + + + pybofh + + + + + + + + + + + + + + +
+ + +
+
+

pybofh

+

Cerebrum-seminar 2019

+
+

Simeon Simeonov (sgs @ UiO)

+
+ +
+

Simeon Simeonov

+
+ +
+ +
+

Agenda

+
+
    +
  • pybofh vs. jbofh

  • +
  • Installation and setup

  • +
  • Examples (scripting)

  • +
  • Q & A

  • +
+
+ +
+

pybofh vs. jbofh

+
+
    +
  • Still developed

  • +
  • Written in Python ☺ .... 2 ☹

  • +
  • Continuously updated documentation

  • +
  • Easier to debug and extend

  • +
  • Can be used as a module / library for scripting

  • +
  • Not bundled

  • +
  • Not a standard

  • +
+
+ +
+

Installation and setup

+
+
    +
  • git clone https://bitbucket.usit.uio.no/scm/crb/pybofh.git <path to repo>
  • +
  • export PYTHONPATH=<path to repo>
  • +
  • <path to repo>/scripts/bofh -u <username> --url <hostname:port> -c <certfile>
  • +
+

pip install pybofh may be a better alternative...

+
+ +
+

Examples

+
+
    +
  • IPython - interactive shell for grownups is highly recommended

  • +
+
+ +
+

Q&A

+

“Judge a man by his questions rather than by his answers.” - Voltaire

+
+ +
+
+ + + + + + + diff --git a/reveal.js/rabbitmq.html b/reveal.js/rabbitmq.html index 7cfafa6..753a799 100644 --- a/reveal.js/rabbitmq.html +++ b/reveal.js/rabbitmq.html @@ -136,7 +136,7 @@
  • Routing keys i topic exchange

  • Bindinger

  • Protokoller og porter

  • -
  • Exempler

  • +
  • Eksempler

  • @@ -172,7 +172,7 @@
    -

    Exempler

    +

    Eksempler


                   
    -- 
    cgit v1.3