Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

openssl

How to decrypt OpenSSL AES-encrypted files in Python?

August 19, 2022 by Magenaut

OpenSSL provides a popular (but insecure – see below!) command line interface for AES encryption:

Categories Python, Q&A Tags aes, encryption, openssl, pycrypto, python Leave a comment

Building Python with SSL support in non-standard location

August 19, 2022 by Magenaut

I need to install several Python modules on a RHEL where I don’t have root access. At least one of the modules also needs access to Python.h.

Categories Python, Q&A Tags compilation, openssl, python Leave a comment

Python and OpenSSL version reference issue on OS X

August 16, 2022 by Magenaut

Trying to resolve an OpenSSL version issue I’m having.

Categories Python, Q&A Tags macos, openssl, python, ssl, version Leave a comment

How do I use a X509 certificate with PyCrypto?

August 13, 2022 by Magenaut

I want to encrypt some data in python with PyCrypto.

Categories Python, Q&A Tags openssl, pycrypto, python, rsa Leave a comment

Python AttributeError: ‘module’ object has no attribute ‘SSL_ST_INIT’

August 13, 2022 by Magenaut

A Python script of mine is failing with:

Categories Python, Q&A Tags openssl, pyopenssl, python Leave a comment

OpenSSL errors in python requests

August 13, 2022 by Magenaut

Running python version 3.9.1 on arch linux with OpenSSL version 1.1.1i and pyopenssl version 1.1.1i I get the following error when trying to use an https proxy with the requests module:

Categories Python, Q&A Tags openssl, python, python-3.x, python-requests, ssl Leave a comment

How do I compile Python 3.4 with custom OpenSSL?

August 11, 2022 by Magenaut

I have my own OpenSSL installation in a non-standard location (/my/path for the sake of this example) and I want Python 3.4 to build against that when I compile it against source. What I tried is this (directories abbreviated)

Categories Python, Q&A Tags gcc, openssl, python Leave a comment

How do I recover from the Heartbleed bug in OpenSSL?

August 10, 2022 by Magenaut

CVE-2014-0160 a.k.a. Heartbleed is a vulnerability in OpenSSL. It looks scary.

Categories Q&A, Unix & Linux Tags openssl, security Leave a comment

List all available ssl ca certificates

August 9, 2022 by Magenaut

My git client claims

Categories Q&A, Unix & Linux Tags linux, openssl Leave a comment

Safe way to pass password for >1 programs in bash

August 7, 2022 by Magenaut

I’m writing a bash script, and need to ask user for his password and pass it to openssl. Whilst openssl can read the password itself, I need for two runs of the program and don’t want to ask the user twice. Here is the script:

Categories Q&A, Unix & Linux Tags bash, command-line, openssl, password Leave a comment
Older posts
Page1 Page2 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress