mirror of
https://github.com/enpaul/vault2vault.git
synced 2025-12-17 17:00:38 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
60462c78b6
|
|||
|
6fda354928
|
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@@ -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
|
||||
|
||||
@@ -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
2273
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
]
|
||||
|
||||
|
||||
2
tox.ini
2
tox.ini
@@ -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
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user