Skip to content

Commit

Permalink
release 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nodesocket committed Jul 30, 2024
1 parent cbad61d commit e1c18c2
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
1 change: 1 addition & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
- Manuel Wildauer ([int9h](https://github.com/int9h))
- Adam Daniels ([adam12](https://github.com/adam12))
- Nicolas Le Gall ([Darkitty](https://github.com/Darkitty))
- Gu1llaum-3 ([Gu1llaum-3](https://github.com/Gu1llaum-3))
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
CHANGELOG
=========

## 2.3.0 - *7/30/2024*

- Prompt to confirm deleting original file when invoking encrypt.

## 2.2.0 - *7/10/2020*

- Append `.aes` file extension instead of substituting when encrypting.
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2019 Justin Keller
Copyright 2024 Justin Keller

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Usage: cryptr command <command-specific-options>
```
➜ cryptr version
cryptr 2.2.0
cryptr 2.3.0
```

### default
Expand All @@ -93,7 +93,7 @@ cryptr 2.2.0
```
➜ cryptr
cryptr 2.2.0
cryptr 2.3.0
Usage: cryptr command <command-specific-options>
Expand Down Expand Up @@ -130,7 +130,7 @@ For more information on semantic versioning, visit http://semver.org/.

## License & Legal

Copyright 2019 Justin Keller
Copyright 2024 Justin Keller

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
6 changes: 3 additions & 3 deletions cryptr.bash
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

###############################################################################
# Copyright 2019 Justin Keller
# Copyright 2024 Justin Keller
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -18,7 +18,7 @@

set -eo pipefail; [[ $TRACE ]] && set -x

readonly VERSION="2.2.0"
readonly VERSION="2.3.0"
readonly OPENSSL_CIPHER_TYPE="aes-256-cbc"

cryptr_version() {
Expand Down Expand Up @@ -52,7 +52,7 @@ cryptr_encrypt() {
fi

if [[ $? -eq 0 ]]; then
read -p "Do you want to delete the original file? (y/N): " confirm
read -rp "do you want to delete the original file? (y/N): " confirm
if [[ "$confirm" =~ ^[Yy]$ ]]; then
echo "[notice] deleting the original file"
rm -f "$_file"
Expand Down

0 comments on commit e1c18c2

Please sign in to comment.