[Bug 1618765] Re: TypeError: cannot instantiate ctype 'EVP_MD_CTX' of unknown size

2016-09-05 Thread Bug Watch Updater
** Changed in: pyopenssl (Debian)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1618765

Title:
  TypeError: cannot instantiate ctype 'EVP_MD_CTX' of unknown size

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyopenssl/+bug/1618765/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1618765] Re: TypeError: cannot instantiate ctype 'EVP_MD_CTX' of unknown size

2016-08-31 Thread Launchpad Bug Tracker
This bug was fixed in the package pyopenssl - 16.1.0-0ubuntu1

---
pyopenssl (16.1.0-0ubuntu1) yakkety; urgency=medium

  * New upstream release (LP: #1618765).

 -- James Page   Wed, 31 Aug 2016 10:15:49 +0100

** Changed in: pyopenssl (Ubuntu)
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1618765

Title:
  TypeError: cannot instantiate ctype 'EVP_MD_CTX' of unknown size

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyopenssl/+bug/1618765/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1618765] Re: TypeError: cannot instantiate ctype 'EVP_MD_CTX' of unknown size

2016-08-31 Thread Bug Watch Updater
** Changed in: pyopenssl (Debian)
   Status: Unknown => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1618765

Title:
  TypeError: cannot instantiate ctype 'EVP_MD_CTX' of unknown size

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyopenssl/+bug/1618765/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1618765] Re: TypeError: cannot instantiate ctype 'EVP_MD_CTX' of unknown size

2016-08-31 Thread James Page
** Bug watch added: Debian Bug tracker #836179
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836179

** Also affects: pyopenssl (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836179
   Importance: Unknown
   Status: Unknown

** Changed in: pyopenssl (Ubuntu)
   Status: New => In Progress

** Changed in: pyopenssl (Ubuntu)
 Assignee: (unassigned) => James Page (james-page)

** Changed in: python-cryptography (Ubuntu)
   Status: New => Invalid

** Changed in: pyopenssl (Ubuntu)
   Importance: Undecided => Critical

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1618765

Title:
  TypeError: cannot instantiate ctype 'EVP_MD_CTX' of unknown size

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyopenssl/+bug/1618765/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1618765] Re: TypeError: cannot instantiate ctype 'EVP_MD_CTX' of unknown size

2016-08-31 Thread James Page
Indeed (from 16.1.0 release notes):

- Support newer versions of ``cryptography`` which use opaque structs
for OpenSSL 1.1.0 compatibility.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1618765

Title:
  TypeError: cannot instantiate ctype 'EVP_MD_CTX' of unknown size

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyopenssl/+bug/1618765/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1618765] Re: TypeError: cannot instantiate ctype 'EVP_MD_CTX' of unknown size

2016-08-31 Thread James Page
Reving pyopenssl to 16.1.0:

tests/test_crypto.py 
...
tests/test_rand.py .
tests/test_ssl.py 
..F.F...
tests/test_tsafe.py .
tests/test_util.py .

Crypto tests pass again

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1618765

Title:
  TypeError: cannot instantiate ctype 'EVP_MD_CTX' of unknown size

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyopenssl/+bug/1618765/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1618765] Re: TypeError: cannot instantiate ctype 'EVP_MD_CTX' of unknown size

2016-08-31 Thread James Page
Pre python-cryptography bump:

tests/test_crypto.py 
.
tests/test_rand.py .
tests/test_ssl.py 
..F.F.
tests/test_tsafe.py .
tests/test_util.py .


and with 1.5:

tests/test_crypto.py 
.F..F.FFF.F.FF.F.F..FFF.FFF...F.F....
tests/test_rand.py .
tests/test_ssl.py 
..FF..F.F.
tests/test_tsafe.py .
tests/test_util.py .

unfortunately pyopenssl ignores the results of unit testing...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1618765

Title:
  TypeError: cannot instantiate ctype 'EVP_MD_CTX' of unknown size

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyopenssl/+bug/1618765/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1618765] Re: TypeError: cannot instantiate ctype 'EVP_MD_CTX' of unknown size

2016-08-31 Thread James Page
Unit test in pyopenssl fails as well:

pkey = 
data = b'It was a bright cold day in April, and the clocks were striking 
thirteen. Winston Smith, his chin nuzzled into his b...s doors of Victory 
Mansions, though not quickly enough to prevent a swirl of gritty dust from 
entering along with him.'
digest = 'sha1'

def sign(pkey, data, digest):
"""
Sign data with a digest

:param pkey: Pkey to sign with
:param data: data to be signed
:param digest: message digest to use
:return: signature
"""
data = _text_to_bytes_and_warn("data", data)

digest_obj = _lib.EVP_get_digestbyname(_byte_string(digest))
if digest_obj == _ffi.NULL:
raise ValueError("No such digest method")

>   md_ctx = _ffi.new("EVP_MD_CTX*")
E   TypeError: cannot instantiate ctype 'EVP_MD_CTX' of unknown size

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1618765

Title:
  TypeError: cannot instantiate ctype 'EVP_MD_CTX' of unknown size

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyopenssl/+bug/1618765/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1618765] Re: TypeError: cannot instantiate ctype 'EVP_MD_CTX' of unknown size

2016-08-31 Thread James Page
Raising task for pyopenssl; the change to 1.5 of python-cryptography
appears to have triggered the problem; but not sure where the fault lies
atm

** Also affects: pyopenssl (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1618765

Title:
  TypeError: cannot instantiate ctype 'EVP_MD_CTX' of unknown size

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyopenssl/+bug/1618765/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1618765] Re: TypeError: cannot instantiate ctype 'EVP_MD_CTX' of unknown size

2016-08-31 Thread James Page
Hmm - this might be python-openssl, not python-cryptography

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1618765

Title:
  TypeError: cannot instantiate ctype 'EVP_MD_CTX' of unknown size

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-cryptography/+bug/1618765/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs