6.0.0-alpha10
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
5/15/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#2782] S/MIME Sign using browser capabilities
*
Your Email Address
*
Spam protection
Enter the letters below:
. . __. __ . . __ |_/ (__ / `| |/ ` | \.__)\__.|__|\__.
Comment
> First I'll try to configure the HEAD version I checked out and > patched and see that signing emails is working all right before I > make any more changes. > > > > Then I'll tackle the serve side MIME composing, spliting actionID > 'send_message' in two parts for separate reuse as we agreed, taking > care that current 'send_message' functionality is untainted. > > > > Regarding wether detecting browser singing capability is possible, it > is. However, that's not the problem. All signing behaviour is enabled > by the IMP_SMIME_* constants, as expected. This constants are true > only if you configured IMP (openssl, https, etc) wich is linked to > the current server side signing strategy. So, though I can detect > browser capability to sign, if I did not configure the server side > signing strategy (openssl, etc) these IMP_SMIME_* constants will be > false, excluding, for example, the lines of code in 'send_message' > that creates multiple MIMEs (one for each recipient). The check box > in the page will not show either. What is worse, I do not know how > many other lines of code will not execute if we do not configure IMP > for current signing strategy. > > To sum it up, I can't make these two signing strategies independent. For now. > > So, just for now, I will assume that, although I can detect browser > signing, IMP is configured for server side signing anyway, so > IMP_SMIME_* constants are true. > > > > One shorter question. When signing an mail for multiple recipients, > multiple MIMEs are created. How will we store these multiple MIMEs in > the HTML form? We need all of them in the page for finally re-submit > the form and send the messages. > > > > In the 'send_message' actionID these are stored in the array > $messagesToSend[], but if we split this code block in two, this array > is comgin from the re-submition of the form, after the browser has > signed each of them. How do we connect these two parts of the code > block now? > > > > I am so sorry this post is this lengthy. I won't post for 2 weeks so > I want to ask all questions that pop up. > > > > Thanks for your patience. > > > > Mariano.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers