mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-12-06 00:32:40 -08:00
Add sharing of groups between databases
* Add source folder keeshare for sharing with corresponding define WITH_XC_KEESHARE * Move common crypto parts to src/crypto/ssh * Extended OpenSSHKey * Move filewatching to own file (currently in two related classes DelayedFileWatcher and BulkFileWatcher) * Small improvements for style and code in several classes * Sharing is secured using RSA-Keys which are generated on demand * Publisher signs the container using their private key * Client can verify the signed container and choose to decline an import, import only once or trust the publisher and automatically import all data of this source henceforth * Integration of settings into Group-Settings, Database-Settings and Application-Settings * Introduced dependency QuaZip as dependency to allow combined export of key container and the (custom format) certificate
This commit is contained in:
1 parent
c1e9f45df9
commit
eca9c658f4
106 files changed
+5828
-503
No files matched your search
@@ -17,8 +17,10 @@
|
||||
*/
|
||||
|
||||
#include "SSHAgent.h"
|
||||
#include "BinaryStream.h"
|
||||
#include "KeeAgentSettings.h"
|
||||
|
||||
#include "crypto/ssh/OpenSSHKey.h"
|
||||
#include "crypto/ssh/BinaryStream.h"
|
||||
#include "sshagent/KeeAgentSettings.h"
|
||||
|
||||
#ifndef Q_OS_WIN
|
||||
#include <QtNetwork>
|
||||
@@ -306,11 +308,11 @@ void SSHAgent::databaseModeChanged(DatabaseWidget::Mode mode)
|
||||
|
||||
OpenSSHKey key;
|
||||
|
||||
if (!key.parse(keyData)) {
|
||||
if (!key.parsePKCS1PEM(keyData)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!key.openPrivateKey(e->password())) {
|
||||
if (!key.openKey(e->password())) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user