Skip to content

Commit

Permalink
Merge pull request #130 from saturneric/dev/2.1.1/main
Browse files Browse the repository at this point in the history
Develop 2.1.2.5
  • Loading branch information
saturneric authored Feb 1, 2024
2 parents d5e6fdb + 55afb9f commit 264eff9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/core/GpgCoreInit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ void InitGpgFrontendCore(CoreInitArgs args) {
.toString();

auto use_pinentry_as_password_input_dialog =
settings.value("gnupg/use_pinentry_as_password_input_dialog", false)
settings.value("gnupg/use_pinentry_as_password_input_dialog", true)
.toBool();

GF_CORE_LOG_DEBUG("core loaded if use custom key databse path: {}",
Expand Down
2 changes: 1 addition & 1 deletion src/ui/dialog/gnupg/GnuPGControllerDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ void GnuPGControllerDialog::set_settings() {
}

bool const use_pinentry_as_password_input_dialog =
settings.value("gnupg/use_pinentry_as_password_input_dialog", false)
settings.value("gnupg/use_pinentry_as_password_input_dialog", true)
.toBool();
if (use_pinentry_as_password_input_dialog) {
ui_->usePinentryAsPasswordInputDialogCheckBox->setCheckState(Qt::Checked);
Expand Down
2 changes: 1 addition & 1 deletion src/ui/dialog/key_generate/KeygenDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ void KeyGenDialog::slot_key_gen_accept() {

if (!GlobalSettingStation::GetInstance()
.GetSettings()
.value("gnupg/use_pinentry_as_password_input_dialog", false)
.value("gnupg/use_pinentry_as_password_input_dialog", true)
.toBool() &&
!no_pass_phrase_check_box_->isChecked()) {
SetCacheValue("PinentryContext", "NEW_PASSPHRASE");
Expand Down

0 comments on commit 264eff9

Please sign in to comment.