Module Expr Str ImportFrom alias alias Import alias Import alias ImportFrom alias Import alias Import alias Import alias Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword TupleLoad Str Str keyword Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num If CompareNotEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Raise Call NameLoad Num TryExcept body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call NameLoad BinOpMod Str SubscriptLoad NameLoad Index Num keyword AttributeLoad NameLoad attr Raise Call NameLoad Num Expr Call NameLoad BinOpMod Str NameLoad keyword AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call NameLoad Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Str Assign NameStore NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Num Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr BinOpMod AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr BinOpMod AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr BinOpMod AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword BinOpMod Str AttributeLoad NameLoad attr keyword TupleLoad Str Str keyword Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num If CompareNotEq Call NameLoad NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Raise Call NameLoad Num Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If NameLoad body Expr Call NameLoad BinOpMod Str NameLoad keyword AttributeLoad NameLoad attr With Call NameLoad NameLoad Str NameStore body Return Call AttributeLoad NameLoad attr Expr Call NameLoad Str keyword AttributeLoad NameLoad attr Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If NameLoad body Expr Call NameLoad BinOpMod Str NameLoad keyword AttributeLoad NameLoad attr With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call NameLoad Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore BinOpMod Str Call AttributeLoad Str attr NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index Num If CompareNotIn NameLoad NameLoad body Raise Call NameLoad BinOpMod Str Call AttributeLoad Str attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index Num With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Raise Call NameLoad Str Expr Call NameLoad Str keyword AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If NameLoad body Expr Call NameLoad BinOpMod Str NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call NameLoad Str keyword AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If NameLoad body Expr Call NameLoad BinOpMod Str NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call NameLoad Str keyword AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list decorator_list Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad
N/A N/A Commandline scripts.

These scripts are called by the executables defined in setup.py.
 __future__ with_statement print_function N/A abc N/A sys optparse OptionParser N/A rsa N/A rsa.bigfile N/A rsa.pkcs1 N/A HASH_METHODS N/A sorted N/A N/A N/A N/A rsa pkcs1 HASH_METHODS keys keygen N/A N/A N/A N/A N/A Key generator. N/A parser N/A OptionParser usage usage: %prog [options] keysize description Generates a new RSA keypair of "keysize" bits. N/A N/A N/A parser add_option --pubout type string help Output filename for the public key. The public key is not saved if this option is not present. You can use pyrsa-priv2pub to create the public key file later. N/A N/A N/A parser add_option -o --out type string help Output filename for the private key. The key is written to stdout if this option is not present. N/A N/A N/A parser add_option --form help key format of the private and public keys - default PEM choices N/A PEM DER default PEM N/A N/A cli cli_args N/A N/A parser parse_args N/A N/A sys argv N/A 1 N/A N/A N/A len cli_args 1 N/A N/A N/A N/A parser print_help N/A N/A SystemExit 1 N/A N/A N/A keysize N/A int N/A cli_args N/A 0 N/A N/A N/A ValueError N/A N/A N/A N/A parser print_help N/A N/A print N/A Not a valid number: %s N/A cli_args N/A 0 file N/A sys stderr N/A N/A SystemExit 1 N/A N/A print N/A Generating %i-bit key keysize file N/A sys stderr N/A N/A pub_key priv_key N/A N/A rsa newkeys keysize N/A N/A cli pubout N/A N/A N/A print N/A Writing public key to %s N/A cli pubout file N/A sys stderr N/A data N/A N/A pub_key save_pkcs1 format N/A cli form N/A N/A open N/A cli pubout wb outfile N/A N/A N/A N/A outfile write data N/A data N/A N/A priv_key save_pkcs1 format N/A cli form N/A N/A cli out N/A N/A N/A print N/A Writing private key to %s N/A cli out file N/A sys stderr N/A N/A open N/A cli out wb outfile N/A N/A N/A N/A outfile write data N/A N/A N/A print Writing private key to stdout file N/A sys stderr N/A N/A N/A N/A sys stdout write data N/A CryptoOperation N/A object N/A N/A CLI callable that operates with input, output, and a key. N/A __metaclass__ N/A abc ABCMeta N/A keyname public N/A usage usage: %%prog [options] %(keyname)s_key N/A description None N/A operation decrypt N/A operation_past decrypted N/A operation_progressive decrypting N/A input_help Name of the file to %(operation)s. Reads from stdin if not specified. N/A output_help Name of the file to write the %(operation_past)s file to. Written to stdout if this option is not present. N/A expected_cli_args 1 N/A has_output True N/A key_class N/A rsa PublicKey __init__ N/A N/A self N/A N/A N/A N/A self usage N/A N/A self usage N/A N/A self __class__ __dict__ N/A N/A self input_help N/A N/A self input_help N/A N/A self __class__ __dict__ N/A N/A self output_help N/A N/A self output_help N/A N/A self __class__ __dict__ N/A perform_operation N/A N/A self indata key cli_args N/A None N/A N/A Performs the program's operation.

        Implement in a subclass.

        :returns: the data to write to the output.
         N/A N/A abc abstractmethod __call__ N/A N/A self N/A N/A N/A Runs the program. N/A N/A cli cli_args N/A N/A self parse_cli N/A key N/A N/A self read_key N/A cli_args N/A 0 N/A cli keyform N/A indata N/A N/A self read_infile N/A cli input N/A N/A print N/A N/A N/A self operation_progressive title file N/A sys stderr N/A outdata N/A N/A self perform_operation indata key cli_args N/A N/A self has_output N/A N/A N/A N/A self write_outfile outdata N/A cli output N/A parse_cli N/A N/A self N/A N/A N/A Parse the CLI options
        
        :returns: (cli_opts, cli_args)
         N/A parser N/A OptionParser usage N/A self usage description N/A self description N/A N/A N/A parser add_option -i --input type string help N/A self input_help N/A N/A self has_output N/A N/A N/A N/A parser add_option -o --output type string help N/A self output_help N/A N/A N/A parser add_option --keyform help N/A Key format of the %s key - default PEM N/A self keyname choices N/A PEM DER default PEM N/A N/A cli cli_args N/A N/A parser parse_args N/A N/A sys argv N/A 1 N/A N/A N/A len cli_args N/A self expected_cli_args N/A N/A N/A N/A parser print_help N/A N/A SystemExit 1 N/A N/A cli cli_args N/A read_key N/A N/A self filename keyform N/A N/A N/A Reads a public or private key. N/A N/A print N/A Reading %s key from %s N/A N/A self keyname filename file N/A sys stderr N/A N/A open filename rb keyfile N/A N/A keydata N/A N/A keyfile read N/A N/A N/A N/A self key_class load_pkcs1 keydata keyform N/A read_infile N/A N/A self inname N/A N/A N/A Read the input file N/A inname N/A N/A N/A print N/A Reading input from %s inname file N/A sys stderr N/A N/A open inname rb infile N/A N/A N/A N/A infile read N/A N/A print Reading input from stdin file N/A sys stderr N/A N/A N/A N/A sys stdin read N/A write_outfile N/A N/A self outdata outname N/A N/A N/A Write the output file N/A outname N/A N/A N/A print N/A Writing output to %s outname file N/A sys stderr N/A N/A open outname wb outfile N/A N/A N/A N/A outfile write outdata N/A N/A N/A print Writing output to stdout file N/A sys stderr N/A N/A N/A N/A sys stdout write outdata N/A N/A EncryptOperation N/A CryptoOperation N/A N/A Encrypts a file. N/A keyname public N/A description Encrypts a file. The file must be shorter than the key length in order to be encrypted. For larger files, use the pyrsa-encrypt-bigfile command. N/A operation encrypt N/A operation_past encrypted N/A operation_progressive encrypting perform_operation N/A N/A self indata pub_key cli_args N/A None N/A N/A Encrypts files. N/A N/A N/A rsa encrypt indata pub_key N/A N/A DecryptOperation N/A CryptoOperation N/A N/A Decrypts a file. N/A keyname private N/A description Decrypts a file. The original file must be shorter than the key length in order to have been encrypted. For larger files, use the pyrsa-decrypt-bigfile command. N/A operation decrypt N/A operation_past decrypted N/A operation_progressive decrypting N/A key_class N/A rsa PrivateKey perform_operation N/A N/A self indata priv_key cli_args N/A None N/A N/A Decrypts files. N/A N/A N/A rsa decrypt indata priv_key N/A N/A SignOperation N/A CryptoOperation N/A N/A Signs a file. N/A keyname private N/A usage usage: %%prog [options] private_key hash_method N/A description N/A Signs a file, outputs the signature. Choose the hash method from %s N/A N/A ,  join HASH_METHODS N/A operation sign N/A operation_past signature N/A operation_progressive Signing N/A key_class N/A rsa PrivateKey N/A expected_cli_args 2 N/A output_help Name of the file to write the signature to. Written to stdout if this option is not present. perform_operation N/A N/A self indata priv_key cli_args N/A N/A N/A Decrypts files. N/A hash_method N/A cli_args N/A 1 N/A N/A hash_method HASH_METHODS N/A N/A N/A SystemExit N/A Invalid hash method, choose one of %s N/A N/A ,  join HASH_METHODS N/A N/A N/A rsa sign indata priv_key hash_method N/A N/A VerifyOperation N/A CryptoOperation N/A N/A Verify a signature. N/A keyname public N/A usage usage: %%prog [options] public_key signature_file N/A description Verifies a signature, exits with status 0 upon success, prints an error message and exits with status 1 upon error. N/A operation verify N/A operation_past verified N/A operation_progressive Verifying N/A key_class N/A rsa PublicKey N/A expected_cli_args 2 N/A has_output False perform_operation N/A N/A self indata pub_key cli_args N/A N/A N/A Decrypts files. N/A signature_file N/A cli_args N/A 1 N/A N/A open signature_file rb sigfile N/A N/A signature N/A N/A sigfile read N/A N/A N/A N/A N/A rsa verify indata signature pub_key N/A N/A N/A N/A rsa VerificationError N/A N/A N/A SystemExit Verification failed. N/A N/A print Verification OK file N/A sys stderr N/A N/A BigfileOperation N/A CryptoOperation N/A N/A CryptoOperation that doesn't read the entire file into memory. __init__ N/A N/A self N/A N/A N/A N/A N/A CryptoOperation __init__ self N/A N/A self file_objects N/A N/A __del__ N/A N/A self N/A N/A N/A Closes any open file handles. N/A fobj N/A self file_objects N/A N/A N/A N/A fobj close N/A __call__ N/A N/A self N/A N/A N/A Runs the program. N/A N/A cli cli_args N/A N/A self parse_cli N/A key N/A N/A self read_key N/A cli_args N/A 0 N/A cli keyform N/A infile N/A N/A self get_infile N/A cli input N/A outfile N/A N/A self get_outfile N/A cli output N/A N/A print N/A N/A N/A self operation_progressive title file N/A sys stderr N/A N/A N/A self perform_operation infile outfile key cli_args N/A get_infile N/A N/A self inname N/A N/A N/A Returns the input file object N/A inname N/A N/A N/A print N/A Reading input from %s inname file N/A sys stderr N/A fobj N/A open inname rb N/A N/A N/A N/A self file_objects append fobj N/A N/A N/A print Reading input from stdin file N/A sys stderr N/A fobj N/A sys stdin N/A fobj N/A get_outfile N/A N/A self outname N/A N/A N/A Returns the output file object N/A outname N/A N/A N/A print N/A Will write output to %s outname file N/A sys stderr N/A fobj N/A open outname wb N/A N/A N/A N/A self file_objects append fobj N/A N/A N/A print Will write output to stdout file N/A sys stderr N/A fobj N/A sys stdout N/A fobj N/A N/A EncryptBigfileOperation N/A BigfileOperation N/A N/A Encrypts a file to VARBLOCK format. N/A keyname public N/A description Encrypts a file to an encrypted VARBLOCK file. The file can be larger than the key length, but the output file is only compatible with Python-RSA. N/A operation encrypt N/A operation_past encrypted N/A operation_progressive encrypting perform_operation N/A N/A self infile outfile pub_key cli_args N/A None N/A N/A Encrypts files to VARBLOCK. N/A N/A N/A N/A rsa bigfile encrypt_bigfile infile outfile pub_key N/A N/A DecryptBigfileOperation N/A BigfileOperation N/A N/A Decrypts a file in VARBLOCK format. N/A keyname private N/A description Decrypts an encrypted VARBLOCK file that was encrypted with pyrsa-encrypt-bigfile N/A operation decrypt N/A operation_past decrypted N/A operation_progressive decrypting N/A key_class N/A rsa PrivateKey perform_operation N/A N/A self infile outfile priv_key cli_args N/A None N/A N/A Decrypts a VARBLOCK file. N/A N/A N/A N/A rsa bigfile decrypt_bigfile infile outfile priv_key N/A N/A N/A encrypt N/A EncryptOperation N/A decrypt N/A DecryptOperation N/A sign N/A SignOperation N/A verify N/A VerifyOperation N/A encrypt_bigfile N/A EncryptBigfileOperation N/A decrypt_bigfile N/A DecryptBigfileOperation