e45a5d4 cli: fix secret key generation

Authored and Committed by kparal 4 years ago
    cli: fix secret key generation
    
    The code didn't work on Python3. Replace it with secrets module (Python3
    only).
    
        
file modified
+2 -2
file modified
+1 -1