d10a164596ecb502917a93a8647a670a3237be69
[monkeysphere.git] / website / bugs / gpg-authentication-cmd_requires_single_input.mdwn
1 In monkeysphere-server, the gpg\_authentication function, and
2 consequently the gpg\_authentication\_cmd, currently requires that all
3 arguments be put in a single quoted argument, eg:
4
5               gpg_authentication "--list-key --with-colons --with-fingerprint 0x${keyID}!"
6
7 This is obviously a little lame, but it seems to be necessary to do
8 the necessary argument passing from the function, to the su function
9 called as the monkeysphere user that controls the gpg authentication
10 keyring.
11
12 I'm not sure how to fix it.  I think the problem is mostly in how
13 arguments are passed to su.
14
15 -- Big Jimmy.