| Home | Trees | Indices | Help |
|
|---|
|
|
Functions for prompting the user for choices and passwords
|
|||
|
AbortedException This exception is raised when user aborts a yes/no confirmation dialog. |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Get a confirmation from the user using the provided prompting text. Additionally, a default value can be specified which is returned when the user simply presses Return. The default value is also highlighted in the prompt. When the user wishes to quit instead, an AbortedException is raised. |
Function for prompting a string value from the user on the command line. Additionally, a default value can be specified in case the user simply presses Return on the prompt. The default value will be shown in brackets. |
Check if the given password meets a certain security policy. There are initial checks made on the length of the password and the amount of different character classes it contains. Additionally, the password is checked using the cracklib library. |
This function performs a password prompting routine with the user. It accepts a password strenght policy as an argument, and based on this a default password will be proposed with the chance of setting a custom one. The custom password will be subjected to strenght checks using the built-in strenght checker and also the cracklib library. |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Jun 10 15:53:32 2010 | http://epydoc.sourceforge.net |