Module ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias If CompareGt AttributeLoad AttributeLoad NameLoad attr attr Num body Assign NameStore NameLoad Assign NameStore Lambda arguments args NameParam NameParam defaults Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Lambda arguments args NameParam NameParam defaults Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad NameLoad NameLoad NameLoad body Assign NameStore Str If NameLoad body Assign NameStore BinOpAdd NameLoad AttributeLoad NameLoad attr If NameLoad body Assign NameStore BinOpAdd NameLoad AttributeLoad NameLoad attr If NameLoad body Assign NameStore BinOpAdd NameLoad AttributeLoad NameLoad attr If NameLoad body Assign NameStore BinOpAdd NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr GeneratorExp Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad comprehension NameStore Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpAdd Call NameLoad NameLoad Num Assign NameStore BinOpSub Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd Call NameLoad NameLoad NameLoad Num NameLoad decorator_list ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Num If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad keyword Num keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore BinOpAdd BinOpFloorDiv Call NameLoad NameLoad NameLoad Num Assign NameStore BinOpMult NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore Num Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults Num body If AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Str Num NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr IfExp NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr IfExp NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr If BoolOpOr CompareEq Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr CompareEq NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Num While CompareLt NameLoad Num body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str If Call AttributeLoad NameLoad attr NameLoad body Return TupleLoad NameLoad NameLoad Expr Call NameLoad Str AugAssignAdd NameStore Num Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Delete NameDel Return Call NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Delete NameDel Return Call NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr If BoolOpAnd UnaryOpNot Call AttributeLoad NameLoad attr CompareIsNot AttributeLoad NameLoad attr NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareGt AttributeLoad NameLoad attr Num body If CompareGt BinOpSub Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse Raise Call NameLoad Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore BinOpAdd BinOpAdd NameLoad Call AttributeLoad Str attr Str Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BinOpAdd BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A __future__ print_function N/A base64 N/A ctypes N/A string N/A os N/A sys N/A binascii N/A time N/A random Crypto.Cipher AES Crypto.Protocol.KDF PBKDF2 pwman.util.callback Callback N/A N/A N/A N/A sys version_info major 2 N/A N/A raw_input input N/A EncodeAES N/A N/A N/A c s N/A N/A N/A base64 b64encode N/A N/A c encrypt s N/A DecodeAES N/A N/A N/A c e N/A N/A N/A N/A N/A c decrypt N/A N/A base64 b64decode e rstrip generate_password N/A N/A pass_len uppercase lowercase digits special_chars N/A 8 True True True True N/A N/A allowed N/A lowercase N/A N/A allowed N/A allowed N/A string ascii_lowercase N/A uppercase N/A N/A allowed N/A allowed N/A string ascii_uppercase N/A digits N/A N/A allowed N/A allowed N/A string digits N/A special_chars N/A N/A allowed N/A allowed N/A string punctuation N/A password N/A N/A join N/A N/A N/A N/A N/A random SystemRandom choice allowed N/A _ N/A range pass_len N/A password N/A zerome N/A N/A string N/A N/A N/A 
    securely erase strings ...
    for windows: ctypes.cdll.msvcrt.memset
     N/A bufsize N/A N/A len string 1 N/A offset N/A N/A N/A sys getsizeof string bufsize N/A N/A N/A ctypes memset N/A N/A id string offset 0 bufsize N/A CryptoException N/A Exception N/A N/A N/A get_digest N/A N/A password salt N/A N/A N/A 
    Get a digest based on clear text password
     N/A iterations 5000 N/A N/A isinstance password bytes N/A N/A password N/A N/A password decode N/A N/A PBKDF2 password salt dkLen 32 count iterations N/A get_cipher N/A N/A password salt N/A N/A N/A 
    Create a chiper object from a hashed password
     N/A iv N/A N/A os urandom N/A AES block_size N/A dig N/A get_digest password salt N/A chiper N/A N/A AES new dig N/A AES MODE_ECB iv N/A chiper N/A prepare_data N/A N/A text block_size N/A N/A N/A 
    prepare data before encryption so the lenght matches the expected
    lenght by the algorithm.
     N/A num_blocks N/A N/A N/A len text block_size 1 N/A newdatasize N/A block_size num_blocks N/A N/A N/A text ljust newdatasize N/A CryptoEngine N/A object N/A N/A _timeoutcount 0 N/A _instance None N/A _callback None get N/A N/A cls timeout N/A -1 N/A N/A N/A CryptoEngine _instance N/A N/A N/A CryptoEngine _instance N/A N/A CryptoEngine _instance N/A CryptoEngine timeout N/A N/A CryptoEngine _instance N/A classmethod __init__ N/A N/A self salt digest algorithm timeout reader N/A None None AES -1 None N/A N/A 
        Initialise the Cryptographic Engine
         N/A N/A self _algo algorithm N/A N/A self _digest N/A digest digest None N/A N/A self _salt N/A salt salt None N/A N/A self _timeout timeout N/A N/A self _cipher None N/A N/A self _reader reader N/A N/A self _callback None N/A N/A self _getsecret None N/A authenticate N/A N/A self password N/A N/A N/A 
        salt and digest are stored in a file or a database
         N/A dig N/A get_digest password N/A self _salt N/A N/A N/A N/A N/A binascii hexlify dig N/A self _digest N/A dig N/A self _digest N/A N/A N/A CryptoEngine _timeoutcount N/A N/A time time N/A N/A self _cipher N/A get_cipher password N/A self _salt N/A True N/A False N/A _auth N/A N/A self N/A N/A N/A 
        Read password from the user, if the password is correct,
        finish the execution an return the password and salt which
        are read from the file.
         N/A salt N/A self _salt N/A tries 0 N/A N/A tries 5 N/A N/A password N/A N/A N/A N/A self _getsecret Please type in your master password encode utf-8 N/A N/A N/A self authenticate password N/A N/A N/A password salt N/A N/A print You entered a wrong password... N/A tries 1 N/A N/A CryptoException You entered wrong password 5 times.. N/A encrypt N/A N/A self text N/A N/A N/A N/A N/A N/A self _is_authenticated N/A N/A N/A p s N/A N/A self _auth N/A cipher N/A get_cipher p s N/A N/A self _cipher cipher N/A p N/A N/A EncodeAES N/A self _cipher N/A prepare_data text N/A AES block_size N/A decrypt N/A N/A self cipher_text N/A N/A N/A N/A N/A N/A self _is_authenticated N/A N/A N/A p s N/A N/A self _auth N/A cipher N/A get_cipher p s N/A N/A self _cipher cipher N/A p N/A N/A DecodeAES N/A self _cipher N/A prepare_data cipher_text N/A AES block_size N/A forget N/A N/A self N/A N/A N/A 
        discard cipher
         N/A N/A self _cipher None N/A _is_authenticated N/A N/A self N/A N/A N/A N/A N/A N/A self _digest N/A N/A self _salt N/A N/A N/A N/A self _create_password N/A N/A N/A N/A N/A self _is_timedout N/A N/A self _cipher None N/A N/A True N/A False N/A _is_timedout N/A N/A self N/A N/A N/A N/A N/A self _timeout 0 N/A N/A N/A N/A N/A N/A time time N/A CryptoEngine _timeoutcount N/A self _timeout N/A N/A N/A self _cipher None N/A True N/A False N/A changepassword N/A N/A self reader N/A raw_input N/A N/A N/A N/A self _callback None N/A N/A N/A CryptoException No callback class has been specified N/A N/A self _keycrypted N/A N/A self _create_password N/A N/A N/A self set_cryptedkey N/A self _keycrypted N/A N/A self _keycrypted N/A callback N/A N/A self N/A N/A N/A 
        return call back function
         N/A N/A self _callback N/A property callback N/A N/A self callback N/A N/A N/A N/A isinstance callback Callback N/A N/A N/A self _callback callback N/A N/A self _getsecret N/A callback getsecret N/A N/A N/A Exception callback must be an instance of Callback! N/A N/A callback setter _create_password N/A N/A self N/A N/A N/A 
        Create a secret password as a hash and the salt used for this hash.
        Change reader to manipulate how input is given.
         N/A salt N/A N/A base64 b64encode N/A N/A os urandom 32 N/A passwd N/A N/A self _getsecret Please type in the master password N/A key N/A get_digest passwd salt N/A hpk N/A N/A salt N/A N/A $6$ encode utf8 N/A N/A binascii hexlify key N/A N/A self _digest key N/A N/A self _salt salt N/A N/A self _cipher N/A get_cipher passwd salt N/A N/A N/A hpk decode utf-8 N/A set_cryptedkey N/A N/A self key N/A N/A N/A N/A salt digest N/A N/A key split $6$ N/A N/A self _digest N/A N/A digest encode utf-8 N/A N/A self _salt N/A N/A salt encode utf-8 N/A get_cryptedkey N/A N/A self N/A N/A N/A 
        return _keycrypted
         N/A N/A N/A N/A N/A N/A self _salt decode $6$ N/A N/A N/A self _digest decode N/A N/A