On 2013-08-17 18:16:59, Micah Anderson wrote: > You can pass the full fingerprint, including spaces, to monkeysign for > the key to be signed. However, if you try to do this for -u, then it > gets rather confused and only takes the first 4 characters and then > assumes the remainder is a key that should be signed (an invalid key > that it will fail to find).
This is a limitation of the "optparse" library - the number of arguments to an option is hardcoded, I believe. Logically, the commandline parser needs to know how many arguments after `-u` it needs to "eat" and pass to that option, and since we want to accept single uids, it seems to me we can't accept space-separated fingerprints there. I know it's inconsistent, but it's a limitation with the commandline parser built into python. The new "argparse" library supports variable length arguments, but that requires porting: http://docs.python.org/2/library/argparse.html#nargs So for now, use a single userid or (non-space-separated) fingerprint. (Or is monkeysign -u choking on (non-space-separated) fingerprints?) Thanks, -- I worry about my child and the Internet all the time, even though she's too young to have logged on yet. Here's what I worry about. I worry that 10 or 15 years from now, she will come to me and say 'Daddy, where were you when they took freedom of the press away from the Internet?' - Mike Godwin, Electronic Frontier Foundation
pgp6U_86w3lFI.pgp
Description: PGP signature

