I'm trying to add the ignore-time-conflict option, to be able to import keys even if there is a clock mismatch. I'm initialise the GPG class in that way
To make it works I've patched the _parser.py file. I've updated the _get_options_group function, by adding --ignore-time-conflict option to none_options frozenset, and now it's works as expected.
My question, is there is a more proper way to make python's GPG wrapper to pass the --ignore-time-conflict options, without patching module code?
I'm trying to add the ignore-time-conflict option, to be able to import keys even if there is a clock mismatch. I'm initialise the GPG class in that way
but for some reason, when I'm executing that code, I see the following error:
To make it works I've patched the _parser.py file. I've updated the _get_options_group function, by adding --ignore-time-conflict option to none_options frozenset, and now it's works as expected.
My question, is there is a more proper way to make python's GPG wrapper to pass the --ignore-time-conflict options, without patching module code?