Skip to content

Commit

Permalink
#21 Changed SMIE size threshold from 12MB to 1200MB
Browse files Browse the repository at this point in the history
  • Loading branch information
cytopia committed Aug 18, 2016
1 parent e22e500 commit ef3aac8
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ Version 0.17 (unreleased)
------------


Version 0.16.3
--------------

- [Fix] Changed SMIME size threshold from 12MB to 1200MB


Version 0.16.2
--------------

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ See [https://travis-ci.org/cytopia/mysqldump-secure](https://travis-ci.org/cytop
### 2.1 Linux, BSD and OSX

```shell
wget https://github.com/cytopia/mysqldump-secure/archive/0.16.2.tar.gz -O - | tar -xz
wget https://github.com/cytopia/mysqldump-secure/archive/0.16.3.tar.gz -O - | tar -xz
cd mysqldump-secure
./configure
make
Expand Down
4 changes: 2 additions & 2 deletions bin/mysqldump-secure
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ INFO_LICENSE="MIT"
INFO_URL="http://mysqldump-secure.org"
INFO_REPO="https://github.com/cytopia/mysqldump-secure"
INFO_DATE="2016-08-18"
INFO_VERSION="0.16.2"
INFO_VERSION="0.16.3"



Expand Down Expand Up @@ -4745,7 +4745,7 @@ for db in ${DB_LIST_ALL}; do
# https://github.com/cytopia/mysqldump-secure/issues/21

# Warn about SMIME bug for files > 1200MB
SMIME_CRITICAL_SIZE_MB="12"
SMIME_CRITICAL_SIZE_MB="1200"
if [ "${ENCRYPT}" = "1" ] && [ "${ENABLE_SMIME_BUG_WARNING}" = "1" ] && [ "$( printf "%.0f\n" "${DB_SIZE_MB}" )" -gt "${SMIME_CRITICAL_SIZE_MB}" ]; then
debug "warn" "(SQL): ${_cnt} Warning: Encryption is enabled and database size is > ${SMIME_CRITICAL_SIZE_MB} MB" "${OUT_VERBOSITY}" "${LOG_VERBOSITY}" "${LOG_FILE}"
debug "warn" "(SQL): ${_cnt} Warning: Verify that your backup can be decrypted." "${OUT_VERBOSITY}" "${LOG_VERBOSITY}" "${LOG_FILE}"
Expand Down
4 changes: 2 additions & 2 deletions doc/INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ brew install --HEAD cytopia/tap/mysqldump-secure

**Tarball (stable)**
```shell
wget https://github.com/cytopia/mysqldump-secure/archive/0.16.2.tar.gz -O - | tar -xz
wget https://github.com/cytopia/mysqldump-secure/archive/0.16.3.tar.gz -O - | tar -xz
cd mysqldump-secure
```
**Tarball (devel)**
Expand All @@ -55,7 +55,7 @@ cd mysqldump-secure
```shell
git clone https://github.com/cytopia/mysqldump-secure.git
cd mysqldump-secure
git checkout 0.16.2
git checkout 0.16.3
```
**Git (devel)**
```shell
Expand Down
2 changes: 1 addition & 1 deletion man/mysqldump-secure.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH mysqldump-secure 1 "18 August 2016" "version 0.16.2"
.TH mysqldump-secure 1 "18 August 2016" "version 0.16.3"
.SH NAME
mysqldump-secure - secure mysqldump wrapper with encryption
.SH SYNOPSIS
Expand Down

0 comments on commit ef3aac8

Please sign in to comment.