Projects
Kolab:Winterfell
roundcubemail
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 225
View file
roundcubemail.spec
Changed
@@ -78,6 +78,7 @@ Patch201: default-configuration.patch Patch202: roundcubemail-1.4-beta86-plugin-enigma-homedir.patch +Patch203: 0001-Enigma-Optional-support-for-passwordless-keys-7265.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root%(%{__id_u} -n) @@ -1534,6 +1535,7 @@ %if 0%{?plesk} < 1 %patch202 -p1 %endif +%patch203 -p1 # Remove the results of patching when there's an incidental offset find . -type f -name "*.orig" | while read file; do @@ -3448,6 +3450,9 @@ %defattr(-,root,root,-) %changelog +* Mon Mar 7 2022 Jeroen van Meeuwen <vanmeeuwen@apheleia-it.ch> - 1.4.13-2 +- Support passwordless keys + * Wed Sep 1 2021 Jeroen van Meeuwen <vanmeeuwen@apheleia-it.ch> - 1.4.11.20-1 - Check in release 1.4.11.20
View file
0001-Enigma-Optional-support-for-passwordless-keys-7265.patch
Added
@@ -0,0 +1,49 @@ +From 3e4a37339e6a4f356f26a47d981ca86a763e4bba Mon Sep 17 00:00:00 2001 +From: Aleksander Machniak <alec@alec.pl> +Date: Tue, 25 May 2021 15:37:57 +0200 +Subject: [PATCH] Enigma: Optional support for passwordless keys (#7265) + +--- + plugins/enigma/config.inc.php.dist | 3 +++ + plugins/enigma/lib/enigma_engine.php | 4 ++-- + 2 files changed, 5 insertions(+), 2 deletions(-) + +diff --git a/plugins/enigma/config.inc.php.dist b/plugins/enigma/config.inc.php.dist +index fc620587e..c0c635f3c 100644 +--- a/plugins/enigma/config.inc.php.dist ++++ b/plugins/enigma/config.inc.php.dist +@@ -65,6 +65,9 @@ $config['enigma_attach_pubkey'] = false; + // When set to 0 passwords will be stored for the whole session. + $config['enigma_password_time'] = 5; + ++// Enable support for private keys without passwords. ++$config['enigma_passwordless'] = false; ++ + // With this option you can lock composing options + // of the plugin forcing the user to use configured settings. + // The array accepts: 'sign', 'encrypt', 'pubkey'. +diff --git a/plugins/enigma/lib/enigma_engine.php b/plugins/enigma/lib/enigma_engine.php +index 4dbb464a5..650a0960c 100644 +--- a/plugins/enigma/lib/enigma_engine.php ++++ b/plugins/enigma/lib/enigma_engine.php +@@ -147,7 +147,7 @@ class enigma_engine + $passwords = $this->get_passwords(); + $pass = $passwords[$key->id]; + +- if ($pass === null) { ++ if ($pass === null && !$this->rc->config->get('enigma_passwordless')) { + // ask for password + $error = array('missing' => array($key->id => $key->name)); + return new enigma_error(enigma_error::BADPASS, '', $error); +@@ -249,7 +249,7 @@ class enigma_engine + $passwords = $this->get_passwords(); + $sign_pass = $passwords[$sign_key->id]; + +- if ($sign_pass === null) { ++ if ($sign_pass === null && !$this->rc->config->get('enigma_passwordless')) { + // ask for password + $error = array('missing' => array($sign_key->id => $sign_key->name)); + return new enigma_error(enigma_error::BADPASS, '', $error); +-- +2.31.1 +
View file
debian.changelog
Changed
@@ -1,3 +1,9 @@ +roundcubemail (1.4.13-0~kolab2) unstable; urgency=low + + * Support passwordless keys + + -- Jeroen van Meeuwen <vanmeeuwen@apheleia-it.ch> Mon, 7 Mar 2022 11:11:11 +0200 + roundcubemail (1.4.13-0~kolab1) unstable; urgency=low * Check in 1.4.13
View file
debian.series
Changed
@@ -1,2 +1,3 @@ default-configuration.patch -p1 roundcubemail-1.4-beta86-plugin-enigma-homedir.patch -p1 +0001-Enigma-Optional-support-for-passwordless-keys-7265.patch -p1
View file
roundcubemail.dsc
Changed
@@ -2,7 +2,7 @@ Source: roundcubemail Binary: roundcubemail Architecture: all -Version: 1:1.4.13-0~kolab1 +Version: 1:1.4.13-0~kolab2 Maintainer: Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> Uploaders: Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> Homepage: http://www.roundcube.net/
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.