Merge branch 'fix-multiline' into 'master'
Fix critical \n \t bug See merge request Aslan2142/passman!1
This commit is contained in:
commit
5a69369fdd
8 changed files with 9 additions and 6 deletions
|
|
@ -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')
|
||||
|
|
|
|||
|
|
@ -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')
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
A Simple Password Manager with AES-256 Encryption<br />
|
||||
Files **qaesencryption.cpp** and **qaesencryption.h** are from [This Repo](https://github.com/bricke/Qt-AES)
|
||||
|
||||
Version 1.0.3<br />
|
||||
Version 1.0.4<br />
|
||||
|
||||

|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
Package: passman
|
||||
Version: 1.0.3
|
||||
Version: 1.0.4
|
||||
Section: utils
|
||||
Priority: optional
|
||||
Architecture: amd64
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
Package: passman
|
||||
Version: 1.0.3
|
||||
Version: 1.0.4
|
||||
Section: utils
|
||||
Priority: optional
|
||||
Architecture: arm64
|
||||
|
|
|
|||
2
main.cpp
2
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)
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
#include <array>
|
||||
#include <QString>
|
||||
#include <QCryptographicHash>
|
||||
#include <QRandomGenerator>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue