Commit 018f6172 authored by hark's avatar hark
Browse files
parents
'''
Created on 15/06/2015
@author: noid
'''
class PidginTools(object):
'''
classdocs
'''
def __init__(self):
'''
Constructor
'''
pass
def create_pidgin_folder(self,user):
''' Creates profile folder for pidgin
'''
self.create_otr_private(user)
self.create_accounts_xml(user)
self.create_otr_fingerprints(user)
def create_otr_fingerprints(self,user):
''' Creates file with fingerprints of other users
'''
pass
def create_otr_private(self,user):
'''Create private profile for user
'''
pass
def create_accounts_xml(self,user):
''' Create account file for user
'''
pass
\ No newline at end of file
#!/usr/bin/python
import os
import random
import string
class User(object):
""" Model storing user data
"""
def __init__(self, name, account, passphrase):
self.name = name
self.account= account
self.passphrase = passphrase
self.gpg_key = None
self.keyid = None
self.pub_key_armored = None
self.fingerprint = None
self.path_home = "/home/amnesia/"+name
self.icedove_folder_name = self.create_random_id()+".default"
print "user created"
def create_random_id(self):
"""Create a suitable ID for Icedove profile.
"""
self.size = 8
self.chars = string.ascii_lowercase + string.digits
return ''.join(random.choice(self.chars) for _ in range(self.size))
\ No newline at end of file
'''
Created on 09/06/2015
@author: noid
'''
from gi.repository import Gtk
import logging, os
import tailsgroupinstaller
import time
from threading import Thread
from tailsgroupinstaller.persistclonewindow import PersistCloneWindow
import config
class UserWindow(object):
'''
classdocs
'''
def __init__(self, groupinstaller):
'''
Constructor
'''
self.groupinstaller = groupinstaller
builder = Gtk.Builder()
builder.add_from_file(os.path.join(tailsgroupinstaller.GLADE_DIR, "user.glade"))
builder.connect_signals(self)
self.window = builder.get_object("main_window")
self.window.move(500,100)
self.window.alias_entry = builder.get_object("alias_entry")
self.window.account_entry = builder.get_object("account_entry")
self.window.passphrase_entry = builder.get_object("passphrase_entry")
self.window.passphrasecheck_entry = builder.get_object("passphrasecheck_entry")
self.nusers = self.groupinstaller.nusers
self.window.actualuser_label = builder.get_object("actualuser_label")
self.window.creatingprofiles_label = builder.get_object("creatingprofiles_label")
self.window.actualuser_label.set_label("Creating user 1 of " + str(int(self.nusers)))
self.actualuser = 1
self.window.creating_users_box = builder.get_object("creating_users_box")
self.window.creating_users_box.show()
self.window.creating_profiles_box = builder.get_object("creating_profiles_box")
self.window.creating_profiles_box.hide()
self.window.info_users_box = builder.get_object("info_users_box")
self.window.info_users_box.hide()
self.window.create_user_btn = builder.get_object("create_user_btn")
self.window.create_user_btn.set_sensitive(False)
self.window.passphrase_dont_match_box = builder.get_object("passphrase_dont_match_box")
self.window.passphrase_too_short_box = builder.get_object("passphrase_too_short_box")
self.window.warning_account = builder.get_object("warning_account")
self.window.warning_name = builder.get_object("warning_name")
def passphrase_entry_changed(self,*args):
self.passphrase = self.window.passphrase_entry.get_text()
self.passphrase_confirmed = False
if self.window.passphrase_entry.get_text() == self.window.passphrasecheck_entry.get_text():
self.window.passphrase_dont_match_box.hide()
self.passphrase_confirmed = True
else:
self.window.passphrase_dont_match_box.show()
self.passphrase_confirmed = False
if self.check_passphrase_length(self.passphrase):
self.window.passphrase_too_short_box.hide()
else:
self.window.passphrase_too_short_box.show()
if self.passphrase_confirmed and self.check_passphrase_length(self.passphrase):
self.window.create_user_btn.set_sensitive(True)
def delete_event(self, *args):
Gtk.main_quit(*args)
def create_user_btn_clicked(self,*args):
self.name = self.window.alias_entry.get_text()
self.account = self.window.account_entry.get_text()
self.passphrase = self.window.passphrase_entry.get_text()
# Checks
if self.check_mail_correct(self.account) and self.check_name(self.name):
self.create_user_checked(self.name, self.account, self.passphrase)
def create_user_checked(self, name, account, passphrase):
self.newuser= self.groupinstaller.create_user(
name = self.name,
account = self.account,
passphrase = self.passphrase
)
#t = Thread(target=self.groupinstaller.create_gpg_profile(self.groupinstaller._users[(self.actualuser -1)]))
#t.start()
self.actualuser += 1
print str(self.actualuser)
if self.actualuser == (self.nusers + 1):
self.window.info_users_box.show()
self.window.creating_profiles_box.show()
self.window.creating_users_box.hide()
self.window.creatingprofiles_label.set_label("About to create: "+str(int(self.nusers))+" users")
else:
self.next_user()
def next_user(self):
self.window.account_entry.set_text("")
self.window.alias_entry.set_text("")
self.window.passphrase_entry.set_text("")
self.window.passphrasecheck_entry.set_text("")
self.window.actualuser_label.set_label("Creating user " + str(self.actualuser) + " of " + str(int(self.nusers)))
self.window.create_user_btn.set_sensitive(False)
self.window.passphrase_dont_match_box.show()
self.window.passphrase_too_short_box.show()
self.window.alias_entry.grab_focus()
self.window.create_user_btn.set_sensitive(False)
def go_create_profiles_btn_clicked_cb(self,*args):
self.groupinstaller.create_gpg_keys()
self.groupinstaller.gpgtools.create_gpg_group_pubring(self.groupinstaller._users)
self.groupinstaller.gpgtools.create_trustdb(self.groupinstaller._users)
self.groupinstaller.icedovetools.create_icedove_folders(self.groupinstaller._users)
#self.groupinstaller.pidgintools.create_profiles(self.groupinstaller._users)
# Change window
self.groupinstaller.persistclonewindow = PersistCloneWindow(self.groupinstaller)
self.groupinstaller.userwindow.window.hide()
self.groupinstaller.persistclonewindow.window.show()
self.groupinstaller.persistclonewindow.window.profiles_created_ok_dialog.show()
def check_mail_correct(self,account):
self.account = account
self.valid_account = True
if not "@" in account:
self.valid_account = False
if self.valid_account:
if self.account.split("@")[1] != "riseup.net":
self.valid_account = False
if not self.valid_account:
self.window.warning_account.show()
else:
return True
def check_passphrase_length(self,passphrase):
if len(passphrase) < config.PASSPHRASE_LENGTH_REQUIRED:
print "passphrase too short"
return False
#self.window.warning_passphrase_too_short.show()
else:
return True
def check_name(self, name):
if name in (user.name for user in self.groupinstaller._users):
self.window.warning_name.show()
print "Name: "+name+" already exists"
return False
else:
return True
def warning_account_btn(self,widget) :
self.window.warning_account.hide()
self.window.account_entry.grab_focus()
def warning_name_btn(self,widget):
self.window.warning_name.hide()
self.window.alias_entry.grab_focus()
\ No newline at end of file
'''
Created on 09/06/2015
@author: noid
'''
import tailsgroupinstaller
import os
from gi.repository import Gtk
from tailsgroupinstaller.userwindow import UserWindow
import config
class WelcomeWindow(object):
'''
Welcome and requirements
'''
def __init__(self, groupinstaller):
'''
Constructor
'''
self.groupinstaller = groupinstaller
builder = Gtk.Builder()
builder.add_from_file(os.path.join(tailsgroupinstaller.GLADE_DIR, "welcome.glade"))
builder.connect_signals(self)
self.window = builder.get_object("welcome")
self.window.move(500,100)
self.window.resize(500,500)
self.window.btn_nusers = builder.get_object("btn_nusers")
self.window.root_password_entry = builder.get_object("root_password_entry")
def delete_event(self, *args):
Gtk.main_quit(*args)
def btn_start_clicked(self,*args):
config.ROOT_PASSWORD = self.window.root_password_entry.get_text()
self.groupinstaller.nusers = self.window.btn_nusers.get_value()
self.groupinstaller.userwindow = UserWindow(self.groupinstaller)
print "created UserWindow"
print config.ROOT_PASSWORD
self.groupinstaller.welcomewindow.window.hide()
self.groupinstaller.userwindow.window.show()
INFO:root:Created user: 123
INFO:root:Created user: 123
INFO:root:Created user: 123123
INFO:root:Created user: 1231231
DEBUG:gnupg:['gpg', '--status-fd', '2', '--no-tty', '--homedir', '/home/amnesia/123123/gnupg', '--version']
DEBUG:gnupg:stderr reader: <Thread(Thread-1, initial daemon)>
DEBUG:gnupg:stdout reader: <Thread(Thread-2, initial daemon)>
DEBUG:gnupg:chunk: 'gpg (GnuPG) 1.4.18\nCopyright (C) 2014 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permit'
DEBUG:root:123123 gpg profile created
INFO:root:Created user: 123
DEBUG:gnupg:['gpg', '--status-fd', '2', '--no-tty', '--homedir', '/home/amnesia/123/gnupg', '--version']
DEBUG:gnupg:stderr reader: <Thread(Thread-1, initial daemon)>
DEBUG:gnupg:stdout reader: <Thread(Thread-2, initial daemon)>
DEBUG:gnupg:chunk: 'gpg (GnuPG) 1.4.18\nCopyright (C) 2014 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permit'
DEBUG:root:Imported gnupg
DEBUG:gnupg:['gpg', '--status-fd', '2', '--no-tty', '--homedir', '/home/amnesia/123/.gnupg', '--version']
DEBUG:gnupg:stderr reader: <Thread(Thread-3, initial daemon)>
DEBUG:gnupg:stdout reader: <Thread(Thread-4, initial daemon)>
DEBUG:gnupg:chunk: 'gpg (GnuPG) 1.4.18\nCopyright (C) 2014 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permit'
DEBUG:root:Created batch data
DEBUG:gnupg:['gpg', '--status-fd', '2', '--no-tty', '--homedir', '/home/amnesia/123/gnupg', '--gen-key', '--batch']
DEBUG:gnupg:data copier: <Thread(Thread-5, initial daemon)>, <_io.BytesIO object at 0x7fe8a3b94830>, <open file '<fdopen>', mode 'wb' at 0x7fe8a3dead20>
DEBUG:gnupg:sending chunk (184): 'Key-Type: RSA\nSubkey-Type: RSA\nSubkey-Usage: encrypt,sign,auth\nExpire-Date: 0\nPassphrase: 123123\nName-Real: 123\nName-Email: 123@riseup.net\nKey-Length: 4096\nSubkey-Length: 4096\n%commit\n'
DEBUG:gnupg:stderr reader: <Thread(Thread-6, initial daemon)>
DEBUG:gnupg:closed output, 184 bytes sent
DEBUG:gnupg:stdout reader: <Thread(Thread-7, initial daemon)>
DEBUG:gnupg:[GNUPG:] PROGRESS primegen . 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen . 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen . 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen . 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen . 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen . 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen . 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen . 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen + 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen + 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen + 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen + 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen + 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen X 100 100
DEBUG:gnupg:[GNUPG:] PROGRESS primegen . 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen + 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen + 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen + 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen + 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen + 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen X 100 100
DEBUG:gnupg:[GNUPG:] GOOD_PASSPHRASE
DEBUG:gnupg:[GNUPG:] PROGRESS primegen . 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen . 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen . 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen . 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen . 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen . 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen . 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen . 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen . 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen . 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen . 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen . 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen . 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen + 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen + 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen + 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen + 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen + 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen X 100 100
DEBUG:gnupg:[GNUPG:] PROGRESS primegen . 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen . 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen . 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen . 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen . 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen . 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen . 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen + 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen + 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen + 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen + 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen + 0 0
DEBUG:gnupg:[GNUPG:] PROGRESS primegen X 100 100
DEBUG:gnupg:[GNUPG:] GOOD_PASSPHRASE
DEBUG:gnupg:[GNUPG:] GOOD_PASSPHRASE
DEBUG:gnupg:[GNUPG:] GOOD_PASSPHRASE
DEBUG:gnupg:[GNUPG:] GOOD_PASSPHRASE
DEBUG:gnupg:gpg: clave 4B81F52A marcada como de confianza absoluta
DEBUG:gnupg:[GNUPG:] KEY_CREATED B 7D599B54CC88F707BABFD45CD76DAA6A4B81F52A
DEBUG:gnupg:['gpg', '--status-fd', '2', '--no-tty', '--homedir', '/home/amnesia/123/gnupg', '--list-keys', '--fixed-list-mode', '--fingerprint', '--with-colons']
DEBUG:gnupg:stderr reader: <Thread(Thread-8, initial daemon)>
DEBUG:gnupg:stdout reader: <Thread(Thread-9, initial daemon)>
DEBUG:gnupg:gpg: comprobando base de datos de confianza
DEBUG:gnupg:gpg: 3 dudosa(s) necesaria(s), 1 completa(s) necesaria(s),
DEBUG:gnupg:modelo de confianza PGP
DEBUG:gnupg:chunk: 'tru:o:1:1434896814:1:3:1:5\npub:u:4096:1:9CC276B950E5DA42:1434877425:::u:::escaESCA:\nfpr:::::::::0E369172FEDBF8D875658C479CC276B950E5DA42:\nuid:u::::1434877425::4FE66A5AE8BEAF256CBD82DB1846BD2E8E314CF4::123 <noid@debian>:\nsub:u:4096:1:693C594E1632F7B3:143487'
DEBUG:gnupg:gpg: nivel: 0 validez: 4 firmada: 0 confianza: 0-, 0q, 0n, 0m, 0f, 4u
DEBUG:gnupg:line: u'tru:o:1:1434896814:1:3:1:5'
DEBUG:gnupg:line: u'pub:u:4096:1:9CC276B950E5DA42:1434877425:::u:::escaESCA:'
DEBUG:gnupg:line: u'fpr:::::::::0E369172FEDBF8D875658C479CC276B950E5DA42:'
DEBUG:gnupg:line: u'uid:u::::1434877425::4FE66A5AE8BEAF256CBD82DB1846BD2E8E314CF4::123 <noid@debian>:'
DEBUG:gnupg:line: u'sub:u:4096:1:693C594E1632F7B3:1434877425::::::esa:'
DEBUG:gnupg:line: u'pub:u:4096:1:9DA7E54E28097131:1434896046:::u:::escaESCA:'
DEBUG:gnupg:line: u'fpr:::::::::637E48ABE7DD73ED1F15A87B9DA7E54E28097131:'
DEBUG:gnupg:line: u'uid:u::::1434896046::288E4406FD08AC02486800706E5C5797D908325A::123 <123>:'
DEBUG:gnupg:line: u'sub:u:4096:1:0D06B8886FE64DE3:1434896046::::::esa:'
DEBUG:gnupg:line: u'pub:u:4096:1:F43F6862C108CA23:1434896789:::u:::escaESCA:'
DEBUG:gnupg:line: u'fpr:::::::::4FF8FC017015786C2B8DE4F2F43F6862C108CA23:'
DEBUG:gnupg:line: u'uid:u::::1434896789::288E4406FD08AC02486800706E5C5797D908325A::123 <123>:'
DEBUG:gnupg:line: u'sub:u:4096:1:942B9CE583A02CE1:1434896789::::::esa:'
DEBUG:gnupg:line: u'pub:u:4096:1:D76DAA6A4B81F52A:1434904231:::u:::escaESCA:'
DEBUG:gnupg:line: u'fpr:::::::::7D599B54CC88F707BABFD45CD76DAA6A4B81F52A:'
DEBUG:gnupg:line: u'uid:u::::1434904231::EFDF515D85835BD30E8DB00EDA0E0D73160F322D::123 <123@riseup.net>:'
DEBUG:gnupg:line: u'sub:u:4096:1:63A1751FDBB17C6F:1434904231::::::esa:'
DEBUG:root:User keyid: 9CC276B950E5DA42
DEBUG:gnupg:['gpg', '--status-fd', '2', '--no-tty', '--homedir', '/home/amnesia/123/gnupg', '--armor', '--export', u'9CC276B950E5DA42']
DEBUG:gnupg:stderr reader: <Thread(Thread-10, initial daemon)>
DEBUG:gnupg:stdout reader: <Thread(Thread-11, initial daemon)>
DEBUG:gnupg:chunk: '-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1\n\nmQINBFWGffEBEACvcrXeCSRePLmm2FjoiVaU3DR9zCk1rnE+Eo3baAUylVC7Fiw6\nT8g0f9jyITXrX7Qmmv44Fx5O0IuCgLKteLm3ml+R6UrN+DNrvoDK3w7gsJWDJY3X\n/DVMcpVybLlD7Ql+PyQFQXSkcSGuLbCsDRn8DYRhwM52CxcOyGrxc7V3vVwhLSxS\nTZxeP'
DEBUG:gnupg:chunk: 'b4s2Vp\ncCTtskV7c3ba2nq2uI7K4ySqp2BWTMbbBitHMJ3lOAhhrM8CXn4+9H7S9XryyNPm\ngUfo0rfGR6z6s4FYA1u59XkoatXn+vliQR/X4DZyIFMWq8wTxrYKPqi2sS9POAiR\n98J63sjdm/iuUf+FBeRAX/4ZnQA4p8zRyU4+wbCpzE8/DMDHMqDJA1yLicyNG/L3\nWaCSl82A/IUfudNNysm+xI58cUYvb1FYHT0oK/9E9HECpHn7RvklkB'
DEBUG:gnupg:chunk: 'SF5/e7Xd5Gqx7azSsRzgU0\n5e/ifIadW9WbCUkzhWeIfQGKBv/iHyL0iU+GOkDUFSwbm9RhFqvyJIVdfjKY2+Oz\nA0Uf7nGVbp31/PG9lv1MLMmHdEyb3iTzU6GvEAFfMF+YhsaFOEcQ/iCKtrrsc43P\nIPPDfeBeRlt8J8y9VqbP1AnjRYwve0L3UfP7ykB9JtsQMV4Dc+ujOnQUPhXPK0+8\nImApwgMOETe7ABEBAAGJ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irzT13oQthOkti335TS3LynfBkcDzlYKXrdOkPHuDfD\n/Ffq/uNPoPGU3HfP8YfRC+vSKHeXLnFkZmyIPcLYJhHaUopGxVVX4NfgNXaHnqPn\n3PmYvT7AuG0+ISJ/Y8mL6fslz41eAqKdlVVzMhhIoidS49ciGX0S4h9yM2PbqgpW\nLVEQFrxoBdKGG9dJzBAAjFr/hMyZwxZrxcz+bk+D8YnxC9tbZOnYzuZUQPwTrZGp\nQV5ofRxRMWIlaR0CIavxUKEjqDnqj0B99uOcCrbVAyckX1SQzshwxfoGXRQaL9Q0\n+1Cmacxgm+XGpUT3Izv5I2qQC6Dhb8bJkbDvd9fzGMR4muMVxcdAcf2lNDd8xzBk\nXU916+nPUAzr1eyzoJU1YV3mbciOqXwrh6CgCEDSvUVxJWT8bqs3+4x0QlrGx5ZA\nYIXVP8HaeIuG8BReeJnU0A6AYzbQ9H4rRW1ZUfiugcp7VMYhCuZKtVFupOe1v3P+\nRqFoOD3mgZAnPvnSL3vNl2WDjsSm156PdgYEBuqLaBQnNE1drF6Qq8O63D0NuAv6\ndHucxhQXRdaV7CSTOqj3GjNn51SEn4BiEydLM0qcT4E6aFSYRQ7tIbaG8HuoZobz\nHQpoZEoBAT78CFmdNWEfDFLgybKcDmDC91WQDPmVmDI6tGe3O/t2VFlRAfyinDQL\ndGrYWDvUVOaqWBrpg8ySdWtvfd9LbShFzh9FKOExHy0SZyXPs3WcYEZjDz28mJmo\nUUHtONKvbsbWz3jfJ7G5FZfeIKd8Er6MeBO4zYuRlV3e/I5VNsrUQ6X4OI4cFMmo\nsFsMAUb+fjGID256aO0OGKO0P8Ti0Qe3WRrm97RNNLdFPxTeUi7P8GA3KTPrPzQ=\n=+bMK\n-----END PGP PUBLIC KEY BLOCK-----\n'
DEBUG:gnupg:['gpg', '--status-fd', '2', '--no-tty', '--homedir', '/home/amnesia/123/gnupg', '--list-keys', '--fixed-list-mode', '--fingerprint', '--with-colons']
DEBUG:gnupg:stderr reader: <Thread(Thread-12, initial daemon)>
DEBUG:gnupg:stdout reader: <Thread(Thread-13, initial daemon)>
DEBUG:gnupg:chunk: 'tru::1:1434904240:0:3:1:5\npub:u:4096:1:9CC276B950E5DA42:1434877425:::u:::escaESCA:\nfpr:::::::::0E369172FEDBF8D875658C479CC276B950E5DA42:\nuid:u::::1434877425::4FE66A5AE8BEAF256CBD82DB1846BD2E8E314CF4::123 <noid@debian>:\nsub:u:4096:1:693C594E1632F7B3:1434877'
DEBUG:gnupg:line: u'tru::1:1434904240:0:3:1:5'
DEBUG:gnupg:line: u'pub:u:4096:1:9CC276B950E5DA42:1434877425:::u:::escaESCA:'
DEBUG:gnupg:line: u'fpr:::::::::0E369172FEDBF8D875658C479CC276B950E5DA42:'
DEBUG:gnupg:line: u'uid:u::::1434877425::4FE66A5AE8BEAF256CBD82DB1846BD2E8E314CF4::123 <noid@debian>:'
DEBUG:gnupg:line: u'sub:u:4096:1:693C594E1632F7B3:1434877425::::::esa:'
DEBUG:gnupg:line: u'pub:u:4096:1:9DA7E54E28097131:1434896046:::u:::escaESCA:'
DEBUG:gnupg:line: u'fpr:::::::::637E48ABE7DD73ED1F15A87B9DA7E54E28097131:'
DEBUG:gnupg:line: u'uid:u::::1434896046::288E4406FD08AC02486800706E5C5797D908325A::123 <123>:'
DEBUG:gnupg:line: u'sub:u:4096:1:0D06B8886FE64DE3:1434896046::::::esa:'
DEBUG:gnupg:line: u'pub:u:4096:1:F43F6862C108CA23:1434896789:::u:::escaESCA:'
DEBUG:gnupg:line: u'fpr:::::::::4FF8FC017015786C2B8DE4F2F43F6862C108CA23:'
DEBUG:gnupg:line: u'uid:u::::1434896789::288E4406FD08AC02486800706E5C5797D908325A::123 <123>:'
DEBUG:gnupg:line: u'sub:u:4096:1:942B9CE583A02CE1:1434896789::::::esa:'
DEBUG:gnupg:line: u'pub:u:4096:1:D76DAA6A4B81F52A:1434904231:::u:::escaESCA:'
DEBUG:gnupg:line: u'fpr:::::::::7D599B54CC88F707BABFD45CD76DAA6A4B81F52A:'
DEBUG:gnupg:line: u'uid:u::::1434904231::EFDF515D85835BD30E8DB00EDA0E0D73160F322D::123 <123@riseup.net>:'
DEBUG:gnupg:line: u'sub:u:4096:1:63A1751FDBB17C6F:1434904231::::::esa:'
DEBUG:root:0E369172FEDBF8D875658C479CC276B950E5DA42
DEBUG:root:123 gpg profile created
INFO:root:123 key created
INFO:root:All users keys created
DEBUG:gnupg:['gpg', '--status-fd', '2', '--no-tty', '--homedir', '/home/amnesia/.gnupg', '--version']
DEBUG:gnupg:stderr reader: <Thread(Thread-14, initial daemon)>
DEBUG:gnupg:stdout reader: <Thread(Thread-15, initial daemon)>
DEBUG:gnupg:gpg: ATENCIÓN: titularidad no segura del directorio personal `/home/amnesia/.gnupg'
DEBUG:gnupg:chunk: 'gpg (GnuPG) 1.4.18\nCopyright (C) 2014 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permit'
DEBUG:gnupg:import_keys: u'-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1\n\nmQINBFWGffEBEACvcrXeCSRePLmm2FjoiVaU3DR9zCk1rnE+Eo3baAUylVC7Fiw6\nT8g0f9jyITXrX7Qmmv44Fx5O0IuCgLKteLm3ml+R6UrN+DNrvoDK3w7gsJWDJY3X\n/DVMcpVybLlD7Ql+PyQFQXSkcSGuLbCsDRn8DYRhwM52CxcOyGrxc7V3vVwhLSxS\nTZxeP'
DEBUG:gnupg:['gpg', '--status-fd', '2', '--no-tty', '--homedir', '/home/amnesia/.gnupg', '--import']
DEBUG:gnupg:data copier: <Thread(Thread-16, initial daemon)>, <_io.BytesIO object at 0x7fe8a3b94830>, <open file '<fdopen>', mode 'wb' at 0x7fe8a3deac90>
DEBUG:gnupg:sending chunk (1024): '-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1\n\nmQINBFWGffEBEACvcrXeCSRePLmm2FjoiVaU3DR9zCk1rnE+Eo3baAUylVC7Fiw6\nT8g0f9jyITXrX7Qmmv44Fx5O0IuCgLKteLm3ml+R6UrN+DNrvoDK3w7gsJWDJY3X\n/DVMcpVybLlD7Ql+PyQFQXSkcSGuLbCsDRn8DYRhwM52CxcOyGrxc7V3vVwhLSxS\nTZxeP'
DEBUG:gnupg:stderr reader: <Thread(Thread-17, initial daemon)>
DEBUG:gnupg:sending chunk (2048): 'b4s2Vp\ncCTtskV7c3ba2nq2uI7K4ySqp2BWTMbbBitHMJ3lOAhhrM8CXn4+9H7S9XryyNPm\ngUfo0rfGR6z6s4FYA1u59XkoatXn+vliQR/X4DZyIFMWq8wTxrYKPqi2sS9POAiR\n98J63sjdm/iuUf+FBeRAX/4ZnQA4p8zRyU4+wbCpzE8/DMDHMqDJA1yLicyNG/L3\nWaCSl82A/IUfudNNysm+xI58cUYvb1FYHT0oK/9E9HECpHn7RvklkB'
DEBUG:gnupg:stdout reader: <Thread(Thread-18, initial daemon)>
DEBUG:gnupg:sending chunk (3072): 'SF5/e7Xd5Gqx7azSsRzgU0\n5e/ifIadW9WbCUkzhWeIfQGKBv/iHyL0iU+GOkDUFSwbm9RhFqvyJIVdfjKY2+Oz\nA0Uf7nGVbp31/PG9lv1MLMmHdEyb3iTzU6GvEAFfMF+YhsaFOEcQ/iCKtrrsc43P\nIPPDfeBeRlt8J8y9VqbP1AnjRYwve0L3UfP7ykB9JtsQMV4Dc+ujOnQUPhXPK0+8\nImApwgMOETe7ABEBAAGJBD4EGAECAAkFAlWGff'
DEBUG:gnupg:sending chunk (3802): 'yZwxZrxcz+bk+D8YnxC9tbZOnYzuZUQPwTrZGp\nQV5ofRxRMWIlaR0CIavxUKEjqDnqj0B99uOcCrbVAyckX1SQzshwxfoGXRQaL9Q0\n+1Cmacxgm+XGpUT3Izv5I2qQC6Dhb8bJkbDvd9fzGMR4muMVxcdAcf2lNDd8xzBk\nXU916+nPUAzr1eyzoJU1YV3mbciOqXwrh6CgCEDSvUVxJWT8bqs3+4x0QlrGx5ZA\nYIXVP8HaeIuG8BReeJnU0A'
DEBUG:gnupg:closed output, 3802 bytes sent
DEBUG:gnupg:gpg: ATENCIÓN: titularidad no segura del directorio personal `/home/amnesia/.gnupg'
DEBUG:gnupg:[GNUPG:] IMPORT_OK 0 0E369172FEDBF8D875658C479CC276B950E5DA42
DEBUG:gnupg:gpg: clave 50E5DA42: "123 <noid@debian>" sin cambios
DEBUG:gnupg:gpg: Cantidad total procesada: 1
DEBUG:gnupg:gpg: sin cambios: 1
DEBUG:gnupg:[GNUPG:] IMPORT_RES 1 0 0 0 1 0 0 0 0 0 0 0 0 0
DEBUG:gnupg:import_keys result: {'count': 1, 'fingerprints': [u'0E369172FEDBF8D875658C479CC276B950E5DA42'], 'imported': 0, 'stderr': u'gpg: ATENCI\xd3N: titularidad no segura del directorio personal `/home/amnesia/.gnupg\'\n[GNUPG:] IMPORT_OK 0 0E369172FEDBF8D875658C479CC276B950E5DA42\ngpg: clave 50E5DA42: "123 <noid@debian>" sin cambios\ngpg: Cantidad total procesada: 1\ngpg: sin cambios: 1\n[GNUPG:] IMPORT_RES 1 0 0 0 1 0 0 0 0 0 0 0 0 0\n', 'sec_dups': 0, 'unchanged': 1, 'gpg': <gnupg.GPG object at 0x7fe8a3ba4d10>, 'results': [{'text': 'Not actually changed\n', 'ok': u'0', 'fingerprint': u'0E369172FEDBF8D875658C479CC276B950E5DA42'}], 'not_imported': 0, 'imported_rsa': 0, 'n_sigs': 0, 'n_uids': 0, 'n_revoc': 0, 'no_user_id': 0, 'sec_read': 0, 'data': '', 'sec_imported': 0, 'n_subk': 0}
DEBUG:root:Group pubring created
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment