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/09/10 04:38] – fixed broken link to required ver of Cryptlib avon
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 version) is 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 version 3.4.3.1 of Cryptlib using the Direct FTP link below. **//It is important to use this version with Mystic//**, if you try to use a different version you may run into security vulnerabilities or any number of other issues.
  
-Websitehttps://www.cs.auckland.ac.nz/~pgut001/cryptlib/ +Direct Download: www.bbs.nz/files/cl3431.zip
- +
-Direct FTP Download: ftp://ftp.franken.de/pub/crypt/cryptlib/cl3431.zip+
  
 ==== Windows ==== ==== Windows ====
Line 26: Line 24:
  
 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 64:
   * 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