diff options
author | Saturneric <[email protected]> | 2022-01-03 20:24:01 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-01-03 20:24:01 +0000 |
commit | 5cc72a35de7128ed586830eb90f705fc3ee3cbbf (patch) | |
tree | 845bf1472f1da1dbea8efe7d0b977cfcbb493e01 /src/gpg/GpgConstants.cpp | |
parent | <fix, feature>(core, ui): add key in smart card support. (diff) | |
download | GpgFrontend-5cc72a35de7128ed586830eb90f705fc3ee3cbbf.tar.gz GpgFrontend-5cc72a35de7128ed586830eb90f705fc3ee3cbbf.zip |
<fix, feature>(core, ui): key package import.
1. use gpgme_op_export_keys as multiply keys export.
2. improve ui.
3. write key package import done.
Diffstat (limited to 'src/gpg/GpgConstants.cpp')
-rw-r--r-- | src/gpg/GpgConstants.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpg/GpgConstants.cpp b/src/gpg/GpgConstants.cpp index b047ffe3..100bf8f8 100644 --- a/src/gpg/GpgConstants.cpp +++ b/src/gpg/GpgConstants.cpp @@ -42,6 +42,10 @@ const char* GpgFrontend::GpgConstants::PGP_SIGNATURE_BEGIN = "-----BEGIN PGP SIGNATURE-----"; const char* GpgFrontend::GpgConstants::PGP_SIGNATURE_END = "-----END PGP SIGNATURE-----"; +const char* GpgFrontend::GpgConstants::PGP_PUBLIC_KEY_BEGIN = + "------BEGIN PGP PUBLIC KEY BLOCK-----"; +const char* GpgFrontend::GpgConstants::PGP_PRIVATE_KEY_BEGIN = + "-----BEGIN PGP PRIVATE KEY BLOCK-----"; const char* GpgFrontend::GpgConstants::GPG_FRONTEND_SHORT_CRYPTO_HEAD = "GpgF_Scpt://"; |