From: Brian W. <wa...@lo...> - 2003-09-08 06:53:24
|
> the attached patch replaces the dummy function (mc-gpg-fetch-key) by a > real one. This makes it possible for Gnupg users to fetch keys from > external servers. I like it. Can the --recv-keys option accept arbitrary names? Or can it only take hex keyids? If so, we should document that limitation heavily: none of the other keyfetching code has it. > The error handling is a bit, uh, binary. Do you think it needs to be > more verbose (e.a. report the reason for failures)? I left this because > if one has really trouble there exists the possibility to have a look at > the gpg error buffer. If it succeeds, it should list the number of keys imported (although really what would be useful is the full name that's attached to the key, so you can check to see if you got the right one). If it fails, perhaps we could just (message) the contents of stderr-buf? Worst case we could emit a message that suggests which buffer to look at for the error messages. Also remember that the stderr buf is normally deleted after the operation completes (I think). thanks! -Brian |