SmartSession  
 
SmartSession is a set of binaries and modules able to secure a linux session using smart cards  
 

General FAQ:

 


Q: Does it work with Debian?

    Yes. It as been developped and tested using Debian 3.0 (woody).


Q: Does it work with other distributions?

    We have tested it with a RedHat7 distribution. You have a few things to do under RedHat:

    • chmod 0666 for terminals /dev/tty8, 9 and next
    • create /crypt and /.cfsfs
    • add to /etc/exports
      /.cfsfs localhost(rw)  # Cryptographic Filesystem export
      
    • add to /etc/rc.local
      if [ -x /usr/sbin/cfsd ]; then
          /usr/sbin/cfsd && \
          /bin/mount -o port=3049,intr localhost:/.cfsfs /crypt
      fi
      
    • The RedHat libgdbm.so.1.8 library is buggy. Use the Debian libgdbm.so.1.7.3 one instead.

    If you find it works with another distribution please tell me.


Q: How to create a Packages file for Debian

    create and put your local .deb files in a directory:

    mkdir /home/Debian
    cd /home/Debian
    mkdir -p dists/local/binary-i386
    cp foobar.deb /home/Debian/dists/local/binary-i386
    

    Use dpkg-scanpackages to create the Packages file:

    cd /home/Debian
    dpkg-scanpackages dists/gemplus/binary-i386 override > Packages
    gzip -f Packages
    mv Packages.gz dists/gemplus/binary-i386
    

    The override file may be empty.