https://github.com/vsajip/python-gnupg/blob/0dab09084ad49466356de3f401e92062d99ef314/gnupg.py#L723-L724KEY According to DETAILS [1], KEY_CREATED can have a 3rd parameter. If present, it will cause the split assignment to fail. [1] https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=blob_plain;f=doc/DETAILS