summaryrefslogtreecommitdiff
path: root/website/bugs/gpg-authentication-cmd_requires_single_input.mdwn
blob: d10a164596ecb502917a93a8647a670a3237be69 (plain)

In monkeysphere-server, the gpg_authentication function, and consequently the gpg_authentication_cmd, currently requires that all arguments be put in a single quoted argument, eg:

      gpg_authentication "--list-key --with-colons --with-fingerprint 0x${keyID}!"

This is obviously a little lame, but it seems to be necessary to do the necessary argument passing from the function, to the su function called as the monkeysphere user that controls the gpg authentication keyring.

I'm not sure how to fix it. I think the problem is mostly in how arguments are passed to su.

-- Big Jimmy.