Compare commits
2 Commits
459b16386b
...
4b41ee2817
Author | SHA1 | Date | |
---|---|---|---|
4b41ee2817 | |||
dc36c40690 |
@ -1,5 +1,10 @@
|
|||||||
## PVC Changelog
|
## PVC Changelog
|
||||||
|
|
||||||
|
###### [v0.9.54](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.54)
|
||||||
|
|
||||||
|
[CLI Client] Fixes a bad variable reference from the previous change
|
||||||
|
[API Daemon] Enables TLSv1 with an SSLContext object for maximum compatibility
|
||||||
|
|
||||||
###### [v0.9.53](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.53)
|
###### [v0.9.53](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.53)
|
||||||
|
|
||||||
* [API] Fixes sort order of VM list (for real this time)
|
* [API] Fixes sort order of VM list (for real this time)
|
||||||
|
@ -22,10 +22,12 @@
|
|||||||
import os
|
import os
|
||||||
import yaml
|
import yaml
|
||||||
|
|
||||||
|
from ssl import SSLContext, TLSVersion
|
||||||
|
|
||||||
from distutils.util import strtobool as dustrtobool
|
from distutils.util import strtobool as dustrtobool
|
||||||
|
|
||||||
# Daemon version
|
# Daemon version
|
||||||
version = "0.9.53"
|
version = "0.9.54"
|
||||||
|
|
||||||
# API version
|
# API version
|
||||||
API_VERSION = 1.0
|
API_VERSION = 1.0
|
||||||
@ -123,7 +125,10 @@ def entrypoint():
|
|||||||
import pvcapid.flaskapi as pvc_api # noqa: E402
|
import pvcapid.flaskapi as pvc_api # noqa: E402
|
||||||
|
|
||||||
if config["ssl_enabled"]:
|
if config["ssl_enabled"]:
|
||||||
context = (config["ssl_cert_file"], config["ssl_key_file"])
|
context = SSLContext()
|
||||||
|
context.minimum_version = TLSVersion.TLSv1
|
||||||
|
context.get_ca_certs()
|
||||||
|
context.load_cert_chain(config["ssl_cert_file"], keyfile=config["ssl_key_file"])
|
||||||
else:
|
else:
|
||||||
context = None
|
context = None
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ from setuptools import setup
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="pvc",
|
name="pvc",
|
||||||
version="0.9.53",
|
version="0.9.54",
|
||||||
packages=["pvc", "pvc.cli_lib"],
|
packages=["pvc", "pvc.cli_lib"],
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"Click",
|
"Click",
|
||||||
|
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
|||||||
|
pvc (0.9.54-0) unstable; urgency=high
|
||||||
|
|
||||||
|
[CLI Client] Fixes a bad variable reference from the previous change
|
||||||
|
[API Daemon] Enables TLSv1 with an SSLContext object for maximum compatibility
|
||||||
|
|
||||||
|
-- Joshua M. Boniface <joshua@boniface.me> Tue, 23 Aug 2022 11:01:05 -0400
|
||||||
|
|
||||||
pvc (0.9.53-0) unstable; urgency=high
|
pvc (0.9.53-0) unstable; urgency=high
|
||||||
|
|
||||||
* [API] Fixes sort order of VM list (for real this time)
|
* [API] Fixes sort order of VM list (for real this time)
|
||||||
|
@ -48,7 +48,7 @@ import re
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
# Daemon version
|
# Daemon version
|
||||||
version = "0.9.53"
|
version = "0.9.54"
|
||||||
|
|
||||||
|
|
||||||
##########################################################
|
##########################################################
|
||||||
|
Loading…
x
Reference in New Issue
Block a user