Bug 346871 - Port emacs to use NSS library for cryptography
Summary: Port emacs to use NSS library for cryptography
Alias: None
Product: Fedora
Classification: Fedora
Component: emacs
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Chip Coldwell
QA Contact: Fedora Extras Quality Assurance
Keywords: FutureFeature
Depends On:
Blocks: CryptoConsolidation
TreeView+ depends on / blocked
Reported: 2007-10-23 10:17 UTC by Peter Vrabec
Modified: 2007-11-30 22:12 UTC (History)
2 users (show)

Clone Of:
Last Closed: 2007-10-23 13:18:44 UTC

Attachments (Terms of Use)

Description Peter Vrabec 2007-10-23 10:17:49 UTC
emacs should be ported to use NSS library for cryptography.
See the tracking bug for details and links on how it could be done.

Comment 1 Chip Coldwell 2007-10-23 13:18:44 UTC
You'll really have to convince the upstream emacs developers that this is the
right thing to do.  I think it's unlikely that they'll go for it, since emacs is
multiplatform (Linux, every other UNIX, VMS, Windows, OS X, OS/2, ...).

Comment 2 Bob Relyea 2007-10-23 17:52:41 UTC
So is NSS....;).

Comment 3 Bob Relyea 2007-10-23 17:54:01 UTC
Chip, what are the crypto usages withing emacs?

Comment 4 Chip Coldwell 2007-10-23 18:00:10 UTC
Honestly, I don't see any libraries linked in

$ ldd /usr/bin/emacs-22.1.50
        libgtk-x11-2.0.so.0 => /usr/lib64/libgtk-x11-2.0.so.0 (0x0000003e93200000)
        libgdk-x11-2.0.so.0 => /usr/lib64/libgdk-x11-2.0.so.0 (0x0000003e93800000)
        libatk-1.0.so.0 => /usr/lib64/libatk-1.0.so.0 (0x0000003110800000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib64/libgdk_pixbuf-2.0.so.0
        libm.so.6 => /lib64/libm.so.6 (0x000000310b000000)
        libpangocairo-1.0.so.0 => /usr/lib64/libpangocairo-1.0.so.0
        libpango-1.0.so.0 => /usr/lib64/libpango-1.0.so.0 (0x0000003111600000)
        libcairo.so.2 => /usr/lib64/libcairo.so.2 (0x0000003110400000)
        libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x000000310d400000)
        libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x000000310dc00000)
        libdl.so.2 => /lib64/libdl.so.2 (0x000000310b400000)
        libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x000000310c400000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x000000310b800000)
        libSM.so.6 => /usr/lib64/libSM.so.6 (0x0000003113e00000)
        libICE.so.6 => /usr/lib64/libICE.so.6 (0x0000003115600000)
        libtiff.so.3 => /usr/lib64/libtiff.so.3 (0x000000311d200000)
        libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x0000003112e00000)
        libpng12.so.0 => /usr/lib64/libpng12.so.0 (0x000000310ec00000)
        libz.so.1 => /usr/lib64/libz.so.1 (0x000000310bc00000)
        libungif.so.4 => /usr/lib64/libungif.so.4 (0x000000310a200000)
        libXpm.so.4 => /usr/lib64/libXpm.so.4 (0x000000310a600000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x000000310cc00000)
        libXft.so.2 => /usr/lib64/libXft.so.2 (0x000000311e600000)
        libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x000000310f000000)
        libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x000000310e800000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x000000310e400000)
        libncurses.so.5 => /usr/lib64/libncurses.so.5 (0x000000311ce00000)
        libc.so.6 => /lib64/libc.so.6 (0x000000310ac00000)
        libgif.so.4 => /usr/lib64/libgif.so.4 (0x0000003109e00000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x000000310d800000)
        libXinerama.so.1 => /usr/lib64/libXinerama.so.1 (0x000000310f800000)
        libXi.so.6 => /usr/lib64/libXi.so.6 (0x0000003110000000)
        libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x0000003112600000)
        libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x0000003111a00000)
        libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x0000003110c00000)
        libpangoft2-1.0.so.0 => /usr/lib64/libpangoft2-1.0.so.0 (0x0000003112200000)
        librt.so.1 => /lib64/librt.so.1 (0x000000310c000000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003109a00000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x000000310d000000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x000000310c800000)
        libexpat.so.0 => /lib64/libexpat.so.0 (0x000000310e000000)

it will fork and exec stunnel, etc if it needs, e.g. imaps.


Comment 5 Chip Coldwell 2007-10-23 18:02:33 UTC
(In reply to comment #2)
> So is NSS....;).

OK, where is the VMS version of NSS?


Comment 6 Bob Relyea 2007-10-23 20:21:21 UTC
stunnel has already been converted, so you are ok there...

You can find NSS for openVMS embedded in:

Note You need to log in before you can comment on or make changes to this bug.