Simple module to provide a password protection for the shell.  
More...
Simple module to provide a password protection for the shell. 
- Warning
 - This feature is experimental!
 This module is an experimental feature and only shows as a proof of concept how the shell could be protected with a password. Do not expect relevant security from it for production, since Man-in-the-Middle attacks are possible depending on the used connection method!  
◆ shell_lock_checkpoint()
      
        
          | void shell_lock_checkpoint  | 
          ( | 
          char *  | 
          line_buf,  | 
        
        
           | 
           | 
          int  | 
          buf_size  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Entry point for the lock mechanism. 
If locked, the user will be asked for a password. This function won't return until the correct password has been entered.
- Parameters
 - 
  
    | [in] | line_buf | Buffer for reading in the password from stdin  | 
    | [in] | buf_size | Buffer size  | 
  
   
 
 
◆ shell_lock_is_locked()
      
        
          | bool shell_lock_is_locked  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
Returns true, if the shell is in the locked state. 
- Returns
 - Whether the shell is locked or not.