From 52037fe06c2121b8b1395f42badbe9da25589d3b Mon Sep 17 00:00:00 2001 From: danixeee Date: Thu, 19 Dec 2019 13:10:01 +0100 Subject: [PATCH] Release v0.2.1 (#87) * Update docs * Bump version to 0.2.1 * Update CHANGELOG * Fixed docs --- CHANGELOG.md | 10 +++++++++- docs/repo-creation-and-update-util.md | 18 ++++++++++++++++++ setup.py | 2 +- 3 files changed, 28 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e75db4bb..17950339 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning][semver]. ## [Unreleased] +### Added + +### Changed + +### Fixed + +## [0.2.1] - 12/19/2019 ### Added @@ -109,7 +116,8 @@ and this project adheres to [Semantic Versioning][semver]. [keepachangelog]: https://keepachangelog.com/en/1.0.0/ [semver]: https://semver.org/spec/v2.0.0.html -[Unreleased]: https://github.com/openlawlibrary/pygls/compare/v0.2.0...HEAD +[Unreleased]: https://github.com/openlawlibrary/pygls/compare/v0.2.1...HEAD +[0.2.1]: https://github.com/openlawlibrary/taf/compare/v0.2.0...v0.2.1 [0.2.0]: https://github.com/openlawlibrary/taf/compare/v0.1.8...v0.2.0 [0.1.8]: https://github.com/openlawlibrary/taf/compare/v0.1.7...v0.1.8 [0.1.7]: https://github.com/openlawlibrary/taf/compare/v0.1.6...v0.1.7 diff --git a/docs/repo-creation-and-update-util.md b/docs/repo-creation-and-update-util.md index 4e46653a..c6b99dff 100644 --- a/docs/repo-creation-and-update-util.md +++ b/docs/repo-creation-and-update-util.md @@ -224,3 +224,21 @@ taf sign_targets --repo-path E:\OLL\auth_rpeo --keystore E:\OLL\keystore --keyst If `commit-msg` is specified, changes will be automatically committed, with the commit message being this argument's value. `scheme` is another optional argument and represents the signature scheme. `rsa-pkcs1v15-sha256` is used by default. + +### `update_expiration_date` + +This command updates an expiration date of a given role's metadata file. It is used when a private key (without PEM header and footer) is kept in an environment variable. + +```bash +taf update_expiration_date --repo-path ./law --role snapshot --key $SNAPSHOT_KEY --interval 5 +``` + +### `update_expiration_date_keystore` + +This command updates an expiration date of a given role's metadata file. It is used when a private key (without PEM header and footer) is kept in a file on a disk (keystore). + +```bash +taf update_expiration_date_keystore --repo-path ./law --role timestamp --interval 5 +``` + +After the command is called, user is prompted to enter password used to decrypt the keystore file. diff --git a/setup.py b/setup.py index b988ceba..b03474d3 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import find_packages, setup PACKAGE_NAME = "taf" -VERSION = "0.2.0" +VERSION = "0.2.1" AUTHOR = "Open Law Library" AUTHOR_EMAIL = "info@openlawlib.org" DESCRIPTION = "Implementation of archival authentication"