summaryrefslogtreecommitdiff
path: root/portato/backend/catapult/__init__.py
blob: 348b941fb54e3bebf39759dca34a32a0b09f3f66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# -*- coding: utf-8 -*-
#
# File: portato/backend/catapult/__init__.py
# This file is part of the Portato-Project, a graphical portage-frontend.
#
# Copyright (C) 2007 René 'Necoro' Neumann
# This is free software.  You may redistribute copies of it under the terms of
# the GNU General Public License version 2.
# There is NO WARRANTY, to the extent permitted by law.
#
# Written by René 'Necoro' Neumann <necoro@necoro.net>

from __future__ import absolute_import

from dbus.mainloop.glib import DBusGMainLoop
DBusGMainLoop(set_as_default=True)

from .system import CatapultSystem
from .package import CatapultPackage
' class='logmsg'> 2016-02-05show: allow selecting which clip lineJason A. Donenfeld2-9/+10 2016-02-05generate: have a default length of 25Jason A. Donenfeld2-6/+12 Folks are lazy and don't want to type very much, so they'd like to have a default password length to generate that can be configured via environment variables per usual. I'm making the default 25. If the user forbids the use of symbols, pwgen will use a-zA-Z0-9, ensuring that at least one A-Z and at least one 0-9 is used. We want to have a password of at least 128-bits, so factoring in the issue with "at least one of this character type", 25 gets us there squarely. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>