2 Commits

Author SHA1 Message Date
60462c78b6 Update CI poetry version 2024-03-21 18:37:36 -04:00
6fda354928 Add python 3.12 classifier and testing 2024-03-21 18:34:38 -04:00
6 changed files with 1078 additions and 1215 deletions

View File

@@ -6,7 +6,7 @@ on:
push:
branches: ["devel"]
env:
POETRY_VERSION: 1.4.1
POETRY_VERSION: 1.5.1
jobs:
Test:
name: Python ${{ matrix.python.version }}
@@ -25,6 +25,8 @@ jobs:
toxenv: py310
- version: "3.11"
toxenv: py311
- version: "3.12"
toxenv: py312
steps:
- name: Checkout
uses: actions/checkout@v2

View File

@@ -2,13 +2,6 @@
See also: [Github Release Page](https://github.com/enpaul/vault2vault/releases).
## Version 0.1.4
View this release on: [Github](https://github.com/enpaul/vault2vault/releases/tag/0.1.4),
[PyPI](https://pypi.org/project/vault2vault/0.1.4/)
- Fix not stripping newlines from vault password files. (#5)
## Version 0.1.3
View this release on: [Github](https://github.com/enpaul/vault2vault/releases/tag/0.1.3),

2273
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "vault2vault"
version = "0.1.4"
version = "0.1.3"
license = "MIT"
authors = ["Ethan Paul <24588726+enpaul@users.noreply.github.com>"]
description = "Recursively rekey ansible-vault encrypted files and in-line variables"
@@ -27,6 +27,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython"
]

View File

@@ -1,5 +1,5 @@
[tox]
envlist = py3{7-11}, static, static-tests, security
envlist = py3{7-12}, static, static-tests, security
isolated_build = true
skip_missing_interpreters = true

View File

@@ -28,7 +28,7 @@ except ImportError:
__title__ = "vault2vault"
__summary__ = "Recursively rekey ansible-vault encrypted files and in-line variables"
__version__ = "0.1.4"
__version__ = "0.1.3"
__url__ = "https://github.com/enpaul/vault2vault/"
__license__ = "MIT"
__authors__ = ["Ethan Paul <24588726+enpaul@users.noreply.github.com>"]
@@ -370,7 +370,7 @@ def _load_password(
if fpath:
try:
with Path(fpath).resolve().open("rb") as infile:
return VaultSecret(infile.read().strip())
return VaultSecret(infile.read())
except (FileNotFoundError, PermissionError) as err:
raise RuntimeError(
f"Specified vault password file '{fpath}' does not exist or is unreadable"