1023cfe Principal: validate type of input parameter

Authored and Committed by mbasti 7 years ago
    Principal: validate type of input parameter
    
    Bytes are unsupported and we should raise a TypeError from Principal
    __init__ method otherwise we get hard to debug result
    
    Reviewed-By: Christian Heimes <cheimes@redhat.com>
    
        
file modified
+6 -1