From: Simon L. <ky...@ce...> - 2003-10-17 03:50:48
|
Hi Anthony, Does this problem happen after you implement the "save" method? Or it always happens? I guess the problem may be in the DocumentData.load(EbxmlMessage) method. Could you give me some source code to have a look? Thanks! Best Regards, Simon ----- Original Message ----- From: "Anthony Karta" <an...@al...> To: <ebm...@li...> Sent: Friday, October 17, 2003 9:51 AM Subject: Re: [ebmail-general] Re: ebmail-general -- confirmation of subscription -- request 276811 > Hi Simon, > > Thanks for your answers. now we know the development status of ebMail. > > I got weird problem. > > When I close ebMail, then open it again, the message cannot be > displayed/browsed again. > > What I did is I added a method to save the xml into file in > "BrowseController" class. > in short: > root = poInfo.toElement(); > ostream = new ByteArrayOutputStream(); > xmlOutputter.output(new Document(root), ostream); > and then using PrintWriter to write the stream into file. > > I can see the message file is still in "ebMail/messages" folder. > Thanks for your help. > anthony > > Simon Lee wrote: > > Hi Anthony, > > > > My answers below, in blue. > > > > ----- Original Message ----- > > From: "Anthony Karta" <an...@al... > > <mailto:an...@al...>> > > To: <ebm...@li... > > <mailto:ebm...@li...>> > > Sent: Thursday, October 16, 2003 12:11 PM > > Subject: Re: [ebmail-general] Re: ebmail-general -- confirmation of > > subscription -- request 276811 > > > > > Hi Simon, > > > Thank for your promptly reply. > > > > > > I didn't setup properly before. What I got now is "invalid key store or > > > password". the signature is DH/DSS, generated by PGPkey freeware. > > > does ebMail only supports digital signature generated by java's keytool? > > > > ------------------------------------------------------------------------ > > We have not try on other key generating software yet, but as you have > > tested, I guess the key generated by PGP freeware will not work. By the > > way, we are continuing to enhance ebMail. In the future release we are > > going to support keys generated in the pkcs12 format. There is a more > > "updated" version of ebMail in our cvs development reposiotry, which > > should work with pkcs12. Maybe you could check it out and have a trial. > > ------------------------------------------------------------------------ > > > > > > > > I've tried java's keytool and it works fine. But I'm wondering, should > > > the other end (seller in Purchase scenario) have public key and its own > > > private key to authenticate the message? > > > > ------------------------------------------------------------------------ > > In current implementation, the public key of sender will also be sent to > > the recipient side, so there is no "key-exchange" before using digital > > signature. In the future release, we will change this mechanism (which > > sender and receiver must exchange public key first) so that the > > signature verification will be more reliable. > > ------------------------------------------------------------------------ > > > > > > > > is there any documentation regarding ebMail? like simple thing, how to > > > change the default size of window "compose message"? > > > > ------------------------------------------------------------------------ > > As we are having ongoing development, we don't have a stable "ebMail > > internal" documentation yet. If you really want to change the size of > > window of compose message, I think you have to dig into the source code > > of ButtonListener.java and modify the variable values. > > ------------------------------------------------------------------------ > > > > > > > > Thanks again, > > > anthony > > > > > > Simon Lee wrote: > > > > Hi Anthony, > > > > > > > > EbMail 1.0 and 1.01 supports digital signature for java keystore. > > You should > > > > use java's keytool utility to generate the keystore, and then > > specify the > > > > keystore location in the Settings->Advance Settings pane. When > > generating > > > > the keystore, please use the same password for the keystore and the > > key. > > > > > > > > It is difficult to say when will get the "can't get certificate > > path" error. > > > > Could you give me more details on your digital signature setup? > > (e.g. what > > > > keystore you are using, the key signing algorithm, etc) > > > > > > > > Currently ebMail don't have any functions to save the xml payload. > > We will > > > > consider adding it in our future release. However plugin developers > > could > > > > implement this feature as an "Extend Function". When implementing the > > > > "Browse Message Controller", the save payload function could be > > implemented > > > > in the getExtendActionNames and callExtendAction methods, which > > could be > > > > called when user browsing the sent messages. For details please > > refer to the > > > > plugin tutorial. > > > > > > > > If you still got any problem, please fell free to ask. > > > > > > > > Best Regards, > > > > Simon Lee > > > > > > > > ----- Original Message ----- > > > > From: "Anthony Karta" <an...@al... > > <mailto:an...@al...>> > > > > To: <ebm...@li... > > <mailto:ebm...@li...>> > > > > Sent: Thursday, October 16, 2003 9:32 AM > > > > Subject: [ebmail-general] Re: ebmail-general -- confirmation of > > > > subscription -- request 276811 > > > > > > > > > > > > > > > >>Hi, > > > >> > > > >>I'm developing a new plug-in for ebMail (this time we just customized > > > >>the poDemo) and it's cool... > > > >>I want to know how to setup "Digital Signature" in ebMail, I got an > > > >>error "can't get certificate path", is it explained somewhere in > > > >>documentation? > > > >>and how hard it is to configure ebMail, so we could save the XML data > > > >>("payload" tab in view message) into file server when send the message? > > > >> > > > >>thanks all > > > >>anthony > > > >> > > > >> > > > >> > > > >> > > > >>------------------------------------------------------- > > > >>This SF.net email is sponsored by: SF.net Giveback Program. > > > >>SourceForge.net hosts over 70,000 Open Source Projects. > > > >>See the people who have HELPED US provide better services: > > > >>Click here: http://sourceforge.net/supporters.php > > > >>_______________________________________________ > > > >>ebmail-general mailing list > > > >>ebm...@li... > > > >>https://lists.sourceforge.net/lists/listinfo/ebmail-general > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.net email is sponsored by: SF.net Giveback Program. > > > > SourceForge.net hosts over 70,000 Open Source Projects. > > > > See the people who have HELPED US provide better services: > > > > Click here: http://sourceforge.net/supporters.php > > > > _______________________________________________ > > > > ebmail-general mailing list > > > > ebm...@li... > > <mailto:ebm...@li...> > > > > https://lists.sourceforge.net/lists/listinfo/ebmail-general > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: SF.net Giveback Program. > > > SourceForge.net hosts over 70,000 Open Source Projects. > > > See the people who have HELPED US provide better services: > > > Click here: http://sourceforge.net/supporters.php > > > _______________________________________________ > > > ebmail-general mailing list > > > ebm...@li... > > <mailto:ebm...@li...> > > > https://lists.sourceforge.net/lists/listinfo/ebmail-general > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > ebmail-general mailing list > ebm...@li... > https://lists.sourceforge.net/lists/listinfo/ebmail-general |