Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: try parse private key instead of checking for error #1879

Merged
merged 1 commit into from
Aug 29, 2023

Commits on Aug 29, 2023

  1. fix: try parse private key instead of checking for error

    DecryptPEMBlock may not return error due to format quirks
    Try parse key instead, and if fail use legacy passowrd to open it
    
    Signed-off-by: Artur Troian <[email protected]>
    troian committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    df0afe9 View commit details
    Browse the repository at this point in the history