backend.globaleaks.handlers.wizard

Module Contents

Classes

Wizard Setup Wizard handler

Functions

db_gen_user_keys(session, tid, user, password) Transaction generating and saving user keys
db_wizard(session, tid, hostname, request) Transaction for the handling of wizard request
backend.globaleaks.handlers.wizard.db_gen_user_keys(session, tid, user, password)[source]

Transaction generating and saving user keys

Parameters:
  • session – An ORM session
  • tid – A tenant ID
  • user – A user object
  • password – A user’s password
Returns:

A private key generated for the user

backend.globaleaks.handlers.wizard.db_wizard(session, tid, hostname, request)[source]

Transaction for the handling of wizard request

Parameters:
  • session – An ORM session
  • tid – A tenant ID
  • request – A user request
class backend.globaleaks.handlers.wizard.Wizard[source]

Bases: globaleaks.handlers.base.BaseHandler

Setup Wizard handler

check_roles = none[source]
invalidate_cache = True[source]
post(self)[source]