bug 964: Patches from Brian Dawson: allow selection of keysize in IE

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 964: Format

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 964: Doh. require() confusion.

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 964: Move the selection box to the right form

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 1070: Escape password before giving it to the command line

Signed-off-by: Michael Tänzer <neo@nhng.de>
Merge branch 'release' into bug-964
bug 964: Completely reimplement the IE key generation

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 964: Respect whether to use the cert for login on IE too

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 964: Also show error code in hex on IE keygen

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 964: Doh, actually print "Step" string

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 964: hopefully properly encode error codes in hex now

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 964: Add check for key size to the Xenroll code

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 964: IE error codes as hex: now really.

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 964: Usability improvement: if there's only one keysize to select, pre-fill
the key size field.

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 964: New error message if the user declines the dialogue. Also a little
bit of clean up

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 964: Add copyright/GPL notice

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 964: Hex is hexed => dehex

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 964: Show an explicit error message for non-connected crypto devices

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 964: Doh, syntax error

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 1097: Also escape characters outside the ASCII range

Signed-off-by: Michael Tänzer <neo@nhng.de>