Skip to content

webgravel/common-ssl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gravel-common-ssl

OpenSSL TLS-PSK wrapper for Python

Use ssl_psk.wrap_socket instead of 'ssl.wrap_socket' with psk paramater set to PSK key string.

wrapper = ssl_psk.wrap_socket(sock, psk='really secret secret', ciphers='PSK-AES256-CBC-SHA',
                              ssl_version=ssl.PROTOCOL_TLSv1,
                              server_side=True)

About

OpenSSL TLS-PSK wrapper for Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published