tlsfuzzer/tlslite-ng

Support encrypted key files in Python key loader

Open

#237 opened on Mar 29, 2018

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Python (95 forks)auto 404
enhancementhelp wanted

Repository metrics

Stars
 (269 stars)
PR merge metrics
 (PR metrics pending)

Description

The m2crypto private key loader can handle encrypted files as it uses OpenSSL for handling them, unfortunately older versions of OpenSSL can't handle rsa-pss keys. Pure python code on the other hand can process rsa-pss keys, but can't decrypt encrypted private keys.

Extend the pure python code to support encrypted key files (both PKCS#1 with encryption and PKCS#8; basic algorithms only - AES, 3DES, PBES1, PBES2, PBKDF2).

Contributor guide