SecureBlackbox 2020 Python Edition

Questions / Feedback?

generate Method

Generates a new single PGP key.

Syntax

def generate() -> None: ...

Remarks

Call this method after setting up relevant fields of key to generate a new PGP key. This method generates a 'standalone' key without subkeys. Use generate_pair to generate a pair of a main key and a subkey.

Most PGP implementations work with pairs of keys: the sign-only primary key and the encrypt-only (or encrypt-and-sign) subkey. If you need to generate a conformant PGP key to use with other PGP software, you likely need to use the generate_pair method.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Python Edition - Version 20.0 [Build 8154]