This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Enable error handling | |
# set -x | |
# Set up environment and variables | |
INSTALLDIR_OPENSSL="/opt/ossl32" # openssl3.2 | |
INSTALLDIR_LIBOQS="/opt/liboqs" | |
INSTALLDIR_PROVIDER="/opt/oqs-provider" | |
LIBOQS_BUILD_DEFINES="ON" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Function to display usage instructions | |
usage() { | |
echo "Usage: $0 <operation> [options]" | |
echo "Operations:" | |
echo " genca - Generate a CA certificate and output public key, private key, and CSR." | |
echo " genec - Generate an EC key and certificate." | |
echo " genrsa - Generate an RSA key and certificate." | |
echo " genpkcs12 - Generate a PKCS#12 (.pfx) file from a private key and certificate." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
''' | |
python webserver.py --dir ~/Documents | |
python webserver.py --dir ~/Documents --port 5000 | |
''' | |
import posixpath | |
import argparse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** Settings *** | |
Documentation This example evaluate a JSON data | |
*** Test Cases *** | |
EvalDict | |
${post_dict}= Evaluate {u'name': 'uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu', u'enabled': True} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# set, a built-in command, reads and writes variables. | |
set a 10 | |
# Desc: puts - Write to a channel | |
# Syntax: puts ?-nonewline? ?channelId? string | |
# channelId stdin, stdout, stderr | |
set abc [puts "test"] | |
puts stdout $tcl_version nonewline |