diff --git a/PKGBUILD_amd64 b/PKGBUILD_amd64 index 6354c80..19cda1b 100755 --- a/PKGBUILD_amd64 +++ b/PKGBUILD_amd64 @@ -1,5 +1,5 @@ pkgname=passman -pkgver=1.0.3 +pkgver=1.0.4 pkgrel=1 pkgdesc="A Simple Password Manager with AES-256 Encryption" arch=('x86_64') diff --git a/PKGBUILD_arm64 b/PKGBUILD_arm64 index fd0ad5f..2441611 100755 --- a/PKGBUILD_arm64 +++ b/PKGBUILD_arm64 @@ -1,5 +1,5 @@ pkgname=passman -pkgver=1.0.3 +pkgver=1.0.4 pkgrel=1 pkgdesc="A Simple Password Manager with AES-256 Encryption" arch=('aarch64') diff --git a/README.md b/README.md index 2312547..df902f0 100755 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ A Simple Password Manager with AES-256 Encryption
Files **qaesencryption.cpp** and **qaesencryption.h** are from [This Repo](https://github.com/bricke/Qt-AES) -Version 1.0.3
+Version 1.0.4
![screenshot.png](screenshot.png) diff --git a/control_amd64 b/control_amd64 index 137f86d..aa69764 100755 --- a/control_amd64 +++ b/control_amd64 @@ -1,5 +1,5 @@ Package: passman -Version: 1.0.3 +Version: 1.0.4 Section: utils Priority: optional Architecture: amd64 diff --git a/control_arm64 b/control_arm64 index a6b0d18..bd6f521 100755 --- a/control_arm64 +++ b/control_arm64 @@ -1,5 +1,5 @@ Package: passman -Version: 1.0.3 +Version: 1.0.4 Section: utils Priority: optional Architecture: arm64 diff --git a/main.cpp b/main.cpp index 9fab71d..a1d011d 100755 --- a/main.cpp +++ b/main.cpp @@ -6,7 +6,7 @@ int main(int argc, char *argv[]) { - QString version = "1.0.3"; + QString version = "1.0.4"; //Run GUI if no arguments are passed if (argc == 1) diff --git a/passman.cpp b/passman.cpp index 9f8ba1b..12c8ecd 100755 --- a/passman.cpp +++ b/passman.cpp @@ -34,6 +34,8 @@ void passman::encrypt() { for (QString& entry_column : entry_row) { + entry_column = entry_column.replace("\n", ""); + entry_column = entry_column.replace("\t", ""); data.append((entry_column + '\t').toLocal8Bit()); } data.append(QString('\n').toLocal8Bit()); diff --git a/passman.h b/passman.h index fd13ea4..3d9b80c 100755 --- a/passman.h +++ b/passman.h @@ -3,6 +3,7 @@ #include #include +#include #include #include #include