User Tools

Site Tools


cryptlib

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
cryptlib [2017/12/03 19:55] – [Linux] g00r00cryptlib [2018/12/28 16:23] – [Downloading Cryptlib] g00r00
Line 7: Line 7:
 ==== Downloading Cryptlib ==== ==== Downloading Cryptlib ====
  
-Download the latest version of Cryptlib from the following link below.  The current version is 3.4.3.1.  **//It is important that the version included here in the instructions (the latest official versionis the version used with Mystic//**, if you try to use a different version you may run into security vulnerabilities or any number of other issues.+Download the latest version of Cryptlib from the following link below. It is important that the latest official version is used with Mystic, Using older / different versions may run you into security vulnerabilities or any 
 +number of other issues.
  
-Website: https://www.cs.auckland.ac.nz/~pgut001/cryptlib/+Website: https://www.cs.auckland.ac.nz/~pgut001/cryptlib/download.html
  
-Direct FTP Downloadftp://ftp.franken.de/pub/crypt/cryptlib/cl3431.zip+There seems to be an issue with the latest CryptLib with 32-bit Linux operating systems that will cause Mystic to crash upon startup.  If you experience this problem it may be worth trying an older version that can be downloaded from the Mystic website: 
 + 
 +Older version: http://www.mysticbbs.com/downloads/cl343.zip
  
 ==== Windows ==== ==== Windows ====
Line 26: Line 29:
  
 In Linux, Mystic looks for Cryptlib in the "libcl.so" file, which must be created by compiling the source code. In Linux, Mystic looks for Cryptlib in the "libcl.so" file, which must be created by compiling the source code.
 +
 +For many installs of Linux the compiler setup is not included by default, check by typing in a terminal:
 +  whereis gcc
 +
 +You should see several locations (like)
 +  gcc: /usr/bin/gcc /usr/lib/gcc /usr/bin/X11/gcc /usr/share/man/man1/gcc.1.gz
 +
 +If you get no locations you need to install it, using a terminal do:
 +
 +  sudo apt-get update
 +  sudo apt-get install build-essential manpages-dev
 +
 +Then check again with 'whereis gcc' to make sure.
  
 The source is contained in the above download section.  Once the file has been downloaded, it must be extracted into its own directory on the Linux machine.  The archive has source files that are stored in the Windows format, so it must be extracted and converted to Linux format.  This can be done by using the "-a" option of unzip.  **If this step is skipped, the source code will not properly compile**. The source is contained in the above download section.  Once the file has been downloaded, it must be extracted into its own directory on the Linux machine.  The archive has source files that are stored in the Windows format, so it must be extracted and converted to Linux format.  This can be done by using the "-a" option of unzip.  **If this step is skipped, the source code will not properly compile**.
Line 53: Line 69:
   * Type "unzip -a cl3431.zip" to extract the source code ZIP into the /cryptlib directory   * Type "unzip -a cl3431.zip" to extract the source code ZIP into the /cryptlib directory
   * Type "sudo make shared"   * Type "sudo make shared"
-  * Type "ls libcl*.dylib*" to see the name of the generated library.  For example: libcl.3.4.3.1.dylib+  * Type "ls libcl*.dylib*" to see the name of the generated library.  For example: libcl.3.4.3.dylib
   * Move the library into the library path and rename it so that Mystic will find it.  Execute the following:   * Move the library into the library path and rename it so that Mystic will find it.  Execute the following:
-  * "sudo mv libcl.3.4.3.1.dylib /usr/lib/libcl.dylib"+  * "sudo mv libcl.3.4.3.dylib /usr/lib/libcl.dylib"
  
 You can now delete the /cryptlib directory if you wish.  The library is installed and read to be used by Mystic! You can now delete the /cryptlib directory if you wish.  The library is installed and read to be used by Mystic!
  
cryptlib.txt · Last modified: 2023/01/24 11:05 by g00r00

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki