Outside the Cube (8809)
Web publishing (65)
Problems with public key details screen in webmin
This article has not been rated yet. After reading, feel free to leave comments and rate it.
Question:I use webmin to administrate our gpg installation.
I try to add an account (user name, email address and comment) to an existing (secret) key using webmin's "Public Key Details" screen.
The url looks like this:
I fill is user name = test, email = test@test and click on the "Add" key, but nothing happens.
The script seems to stall.
Answer:The CGI script interfaces with the gpg commandline tool. gpg rejects user names that are less than 5 characters long.
Unfortunately webmin does not check this in the GUI, and the script does not have an error handler for that.