On 8/13/02 12:53 AM, "Simon Josefsson" <jas(a)extundo.com> wrote:
> |--==> "VS" == Ville Skytt <Ville> writes:
>
> VS> On Mon, 2002-08-12 at 09:30, Ovidiu Predescu wrote:
>>> I was thinking what would be the best way to do this, to avoid
> security issues as well. Is there an Xemacs way to cryptographically
> sign files, which is independent on external packages like gpg or
> pgp? Or should I rely instead on Java security?
>
> VS> Hmm, the mailcrypt package? But it needs pgp/gpg... is that a VS>
> problem? xslt-process could always require mailcrypt in XEmacs.
>
> Hi Ovidiu!
>
> We've just added a new package to XEmacs called "ecrypto", this sounds
> like something it could handle. It hasn't been released in the
> mainline packages yet, but it is in Pre-Release.
That package only contains low-level functions, I don't think you can
digitally sign anything in a useful way using that code. I think this
really must be designed into the package system itself -- packages should
be signed, and the package installer should verify it against a XEmacs
Release Manager certificate. This is how RPM do it.
Mailcrypt has the required functionality though. And GPG or OpenSSL will
be needed unless we want to implement OpenPGP/PKIX in elisp.
You're right on the issue! I've described the situation few minutes ago
exactly the same way on my Weblog, at
http://www.webweavertech.com/ovidiu/weblog/archives/000023.html
I think Xemacs needs to have cryptographically signed packages by default on
its main site. Right now we don't do any check to verify the authenticity of
the packages, and a malicious hacker might easily change the packages. A
similar problem was recently reported at Apple, their software update
procedure was not cryptographically signing the distributed packages. Here
is a description of the attack:
http://www.cunap.com/~hardingr/projects/osx/exploit.html
For now I think I'll look into using either mailcrypt or the Java stuff, if
it's possible.
Regards,
--
Ovidiu Predescu <ovidiu(a)xemacs.org>
http://www.webweavertech.com/ovidiu/weblog/index.html (Weblog)
http://www.geocities.com/SiliconValley/Monitor/7464/ (Apache, GNU, Emacs...)