TLS params not set for session
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-etcd3gw (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Bionic |
Fix Released
|
Medium
|
Heather Lemon | ||
Cosmic |
Won't Fix
|
Medium
|
Unassigned | ||
Disco |
Won't Fix
|
Medium
|
Unassigned | ||
Eoan |
Won't Fix
|
Medium
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Heather Lemon | ||
Groovy |
Won't Fix
|
Medium
|
Unassigned | ||
Hirsute |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
A connection session is opened, but the TLS parameters (timeout, ca, cert and key) are not actually set for the session. This prevents use of TLS for the etcd3gw package.
[Test Plan]
# Create self signed certs, using the default for all prompts
$ openssl req -addext "subjectAltName = DNS:localhost" -x509 -keyout localhost.key -newkey rsa:4096 -nodes -sha256 -out localhost.crt
# install 'etcd' package, stop the default server, and spin up ectd server
$ sudo apt install etcd
$ sudo systemctl stop etcd
$ etcd --name test --data-dir test --cert-
# run test script
$ cat test.py
#!/usr/bin/python3
from etcd3gw import Etcd3Client
c = Etcd3Client(
c.put('test', 'success!')
resp = c.get('test')
print(b'
$ ./test.py
success!
[Where Problems Could Occur]
This adds TLS parameters (if provided) to the session, so regressions would involve failed connections, possibly those without TLS that had TLS params incorrectly provided before.
[Other]
the upstream bug is https:/
fixed upstream with pull request https:/
via commit 90b7a19cdc4daa1
that commit is contained in version 0.2.2 which is already in h, so this is needed in b/f/g. This package was not included in Xenial.
Changed in python-etcd3gw (Ubuntu Bionic): | |
importance: | Undecided → Medium |
Changed in python-etcd3gw (Ubuntu Cosmic): | |
importance: | Undecided → Medium |
Changed in python-etcd3gw (Ubuntu Disco): | |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in python-etcd3gw (Ubuntu Cosmic): | |
status: | New → In Progress |
Changed in python-etcd3gw (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in python-etcd3gw (Ubuntu Disco): | |
assignee: | nobody → Dan Streetman (ddstreet) |
Changed in python-etcd3gw (Ubuntu Bionic): | |
assignee: | nobody → Dan Streetman (ddstreet) |
Changed in python-etcd3gw (Ubuntu Cosmic): | |
assignee: | nobody → Dan Streetman (ddstreet) |
description: | updated |
Changed in python-etcd3gw (Ubuntu Cosmic): | |
status: | In Progress → Won't Fix |
Changed in python-etcd3gw (Ubuntu Disco): | |
status: | In Progress → Won't Fix |
Changed in python-etcd3gw (Ubuntu Focal): | |
status: | In Progress → New |
Changed in python-etcd3gw (Ubuntu Bionic): | |
status: | In Progress → New |
assignee: | Dan Streetman (ddstreet) → nobody |
Changed in python-etcd3gw (Ubuntu Cosmic): | |
assignee: | Dan Streetman (ddstreet) → nobody |
Changed in python-etcd3gw (Ubuntu Disco): | |
assignee: | Dan Streetman (ddstreet) → nobody |
Changed in python-etcd3gw (Ubuntu Focal): | |
assignee: | Dan Streetman (ddstreet) → nobody |
Changed in python-etcd3gw (Ubuntu Eoan): | |
importance: | Undecided → Medium |
tags: | added: sts |
tags: | added: sts-sponsor-volunteer |
Changed in python-etcd3gw (Ubuntu Bionic): | |
assignee: | nobody → Heather Lemon (hypothetical-lemon) |
Changed in python-etcd3gw (Ubuntu Focal): | |
assignee: | nobody → Heather Lemon (hypothetical-lemon) |
Changed in python-etcd3gw (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in python-etcd3gw (Ubuntu Focal): | |
status: | New → In Progress |
description: | updated |
description: | updated |
Changed in python-etcd3gw (Ubuntu Groovy): | |
importance: | Undecided → Medium |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in python-etcd3gw (Ubuntu Groovy): | |
status: | New → Triaged |
status: | Triaged → In Progress |
assignee: | nobody → Heather Lemon (hypothetical-lemon) |
tags: |
added: sts-sponsor-ddstreet removed: sts-sponsor-volunteer |
tags: |
added: sts-sponsor-slashd removed: sts-sponsor-ddstreet |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
tags: | added: sts-sponser |
description: | updated |
description: | updated |
tags: |
added: sts-sponsor removed: sts-sponser |
The Eoan Ermine has reached end of life, so this bug will not be fixed for that release