Giter Site home page Giter Site logo

Comments (16)

mhils avatar mhils commented on June 12, 2024

From https://github.com/pyca/pyopenssl/blob/main/CHANGELOG.rst#2330-2023-10-25:

Removed OpenSSL.crypto.loads_pkcs7 and OpenSSL.crypto.loads_pkcs12 which had been deprecated for 3 years.

You need to update your application code to use the PKCS12 APIs provided by pyca/cryptography.

from pyopenssl.

radakrr avatar radakrr commented on June 12, 2024

Mhils,

we are using PKCS12 APIs provided by pyca/cryptography as suggested in the article you mentioned above.

from pyopenssl.

mhils avatar mhils commented on June 12, 2024

You're trying to import load_pkcs12 from OpenSSL.crypto, which has been removed.

from pyopenssl.

radakrr avatar radakrr commented on June 12, 2024

let me get my developer in this discussion..
I am not the expert here. I am trying find a solution
what should Import?

from pyopenssl.

radakrr avatar radakrr commented on June 12, 2024

sorry to bother you mhils.. we are in a jam that is why I got involved.

from pyopenssl.

radakrr avatar radakrr commented on June 12, 2024

here is the section which can help u:
import contextlib

import OpenSSL.crypto

import requests
import tempfile
import re
import json
import urllib
from datetime import date
import pandas as pd
from cryptography.hazmat.backends import default_backend
from cryptography.hazmat.primitives import serialization
from cryptography.hazmat.primitives.serialization import load_pem_private_key
from cryptography.hazmat.primitives.serialization import pkcs12
from cryptography.hazmat.primitives.serialization.pkcs12 import load_key_and_certificates

from pyopenssl.

radakrr avatar radakrr commented on June 12, 2024

sorry

#import OpenSSL.crypto

from pyopenssl.

radakrr avatar radakrr commented on June 12, 2024

we have commented this line

from pyopenssl.

radakrr avatar radakrr commented on June 12, 2024

Here is my management question- How come it was working last week and stop working when we upgraded it to latest version??

from pyopenssl.

radakrr avatar radakrr commented on June 12, 2024

Mhils, should I open a new ticket since I really need help urgently. Sorry for being a pest. I am in trouble with timeline due to this issue. please help me.

from pyopenssl.

alex avatar alex commented on June 12, 2024

No, you should not open a new issue.

You've been given an answer as to why this isn't a pyopenssl bug, and you continue to ask incredibly basic programming questions.

We cannot provide basic programming support here.

from pyopenssl.

radakrr avatar radakrr commented on June 12, 2024

Alex, thanks for your view. However, I am not the programmer and trying find an answer. trying to figure out this from common sense perspective. it was working before last week and giving the following error and it is clearly related to upgraded library. if you know the answer even if it basic programming. I am just asking to help because this upgrade. Nobody in my company has seen this error message and I am left with no help.
do u have a copy of readme file or something which can give me a clue.

from pyopenssl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.