keepassxc/src/sshagent
Pat Long 7bdcf05fc3
Fix support for AES-256/GCM openssh keys (#8968)
* Fix detecting AES-256/GCM cipher, fixes #8964 

When you generate a ssh key using the aes-256/gcm cipher, the cipher name in the keyfile includes an @openssh.com at the end.

* Use separate iv length for getting iv data, the assumption that the block size and iv size are equal does not hold for every cipher mode (e.g., GCM)

* Disable AES-256/GCM for now in ssh keys 

Currently, the granularity for the botan gcm implementation is too large. To fix a problem with another algorithm in the library, they are multiplying
the blocksize, so by default the granularity is 64. This causes issues since the encrypted data in the key is only guaranteed to have a length that is a multiple of the block size (16).
2023-02-18 14:04:47 -08:00
..
AgentSettingsPage.cpp Move icon handling from Resources to gui/Icons (#5506) 2020-10-05 20:41:00 -04:00
AgentSettingsPage.h Optimize includes across code base 2021-07-13 22:08:33 -04:00
AgentSettingsWidget.cpp SSH Agent: Fix Windows agent selection, radio buttons 2022-04-02 08:47:00 -04:00
AgentSettingsWidget.h Optimize includes across code base 2021-07-13 22:08:33 -04:00
AgentSettingsWidget.ui SSH Agent: Fix Windows agent selection, radio buttons 2022-04-02 08:47:00 -04:00
ASN1Key.cpp SSH Agent: Store raw key data as complete blobs 2021-10-01 16:25:14 -04:00
ASN1Key.h Optimize includes across code base 2021-07-13 22:08:33 -04:00
BinaryStream.cpp Replace all crypto libraries with Botan 2021-04-05 22:56:03 -04:00
BinaryStream.h Optimize includes across code base 2021-07-13 22:08:33 -04:00
CMakeLists.txt Replace all crypto libraries with Botan 2021-04-05 22:56:03 -04:00
KeeAgentSettings.cpp Fix removing encrypted ASN.1 keys from ssh-agent (#6804) 2021-08-08 09:36:06 -04:00
KeeAgentSettings.h Optimize includes across code base 2021-07-13 22:08:33 -04:00
OpenSSHKey.cpp Fix support for AES-256/GCM openssh keys (#8968) 2023-02-18 14:04:47 -08:00
OpenSSHKey.h Fix support for AES-256/GCM openssh keys (#8968) 2023-02-18 14:04:47 -08:00
SSHAgent.cpp Fix SSH Agent Build on MSYS Windows (#8708) 2022-10-29 22:10:50 -04:00
SSHAgent.h SSH Agent: Add support for OpenSSH 8.2 FIDO/U2F keys 2021-10-01 16:25:14 -04:00