text stringlengths 0 834k |
|---|
220045,f34149e4dfa13b905d0a121c0d444dcdb5250cea,1284,cmd,Batchfile,dpdk-16.11/x86_64-native-linuxapp-gcc/build/drivers/net/enic/.enic_res.o.cmd,markdl/mtcp,aa8044eca65418f85fc0a5bfc0239f0f0c3d3c5b,['BSD-3-Clause'],,,,dpdk-16.11/x86_64-native-linuxapp-gcc/build/drivers/net/enic/.enic_res.o.cmd,markdl/mtcp,aa8044eca65418... |
",642.0,1283,0.8535825545 |
220046,f341656e741f6c40439c5f771ec64f67cc5b1af5,225,bat,Batchfile,testframework/blender-nosetests.bat,BlenderAddonsArchive/blender_niftools_addon,fc28f567e1fa431ec6633cb2a138898136090b29,['BSD-3-Clause'],94.0,2020-11-06T15:06:20.000Z,2022-03-25T05:58:10.000Z,testframework/blender-nosetests.bat,BlenderAddonsArchive/blen... |
if ""%BLENDER_HOME%"" == """" ( |
echo. ""Please set BLENDER_HOME to the blender.exe folder"" |
goto end |
) |
""%BLENDER_HOME%\blender.exe"" --background --factory-startup --python blender-nosetests.py -- %* |
:end |
",20.4545454545,96,0.6533333333 |
220047,f3417665f2c6d426dffdb8c16cf2c54009c93dc7,13295,bat,Batchfile,libest/example/server/createCA.bat,tony-blake/Marbles-with-Post-Quantum-Crypto,8b8466058839866b6c816129bb39e7dcbd68bae8,['Apache-2.0'],61.0,2015-01-20T22:33:51.000Z,2022-03-17T22:10:06.000Z,libest/example/server/createCA.bat,tony-blake/Marbles-with-Pos... |
:: Program: createCA.bat |
:: |
:: Direct port of ESTcommon.sh & createCA.sh |
:: |
:: Note: There is a small difference between .sh & .bat programs: |
:: .sh expects a user response of any character to continue. |
:: .bat expects a user response of a <CR> to continue. |
:: |
:: ############################################################################ |
:: ############################################################################ |
:: ESTcommon.sh port (All function calls are in Functions section below) |
:: ############################################################################ |
:: |
:: Max Pritikin |
:: Copyright 2011, Cisco Systems, Inc |
:: |
:: Sets variables and config for the ESTServer callout (think CGI) script |
:: Provides common helper functions |
:: |
:: for detailed debugging |
@echo off |
set EST_SCRIPTNAME=%0 |
set EST_LOGGING=estserver.scripts.log |
set RETURN_CODE=0 |
:: Base variables for CA's used. These are global. :( |
:: also note that these must match the equivalent settings |
:: within each associated config file |
set EST_OPENSSL_EXTCACNF=extExampleCA.cnf |
set EST_OPENSSL_EXTCADIR=extCA |
set EST_OPENSSL_EXTCACERT=%EST_OPENSSL_EXTCADIR%\cacert.crt |
set EST_OPENSSL_EXTCAPRIVDIR=%EST_OPENSSL_EXTCADIR%\private |
set EST_OPENSSL_EXTCANEWCERTSDIR=%EST_OPENSSL_EXTCADIR%\newcerts |
set EST_OPENSSL_EXTCADATABASE=%EST_OPENSSL_EXTCADIR%\index.txt |
set EST_OPENSSL_EXTCASERIAL=%EST_OPENSSL_EXTCADIR%\serial |
set EST_OPENSSL_EXTCAPRIVKEY=%EST_OPENSSL_EXTCAPRIVDIR%\cakey.pem |
set EST_OPENSSL_EXTCAPRIVKEYPARAM=%EST_OPENSSL_EXTCAPRIVDIR%\cakeyparam.pem |
set EST_OPENSSL_EXTCASUBJ=""/CN=estEXTERNALCA"" |
set EST_OPENSSLCMD_EXTCAECPARAMSFILE=%EST_OPENSSL_EXTCADIR%\prime256v1.pem |
:: if you want to use EC certificates set the ..._NEWKEY_PARAM like this: |
set EST_OPENSSLCMD_EXTCANEWKEY_PARAM=""-newkey ec:%EST_OPENSSLCMD_EXTCAECPARAMSFILE%"" |
::set EST_OPENSSLCMD_EXTCANEWKEY_PARAM= |
set EST_OPENSSL_CACNF=estExampleCA.cnf |
set EST_OPENSSL_CADIR=estCA |
set EST_OPENSSL_CACERT=%EST_OPENSSL_CADIR%\cacert.crt |
set EST_OPENSSL_CAPRIVDIR=%EST_OPENSSL_CADIR%\private |
set EST_OPENSSL_CANEWCERTSDIR=%EST_OPENSSL_CADIR%\newcerts |
set EST_OPENSSL_CADATABASE=%EST_OPENSSL_CADIR%\index.txt |
set EST_OPENSSL_CASERIAL=%EST_OPENSSL_CADIR%\serial |
set EST_OPENSSL_CAPRIVKEY=%EST_OPENSSL_CAPRIVDIR%\cakey.pem |
set EST_OPENSSL_CAPRIVKEYPARAM=%EST_OPENSSL_CAPRIVDIR%\cakeyparam.pem |
set EST_OPENSSL_CASUBJ=""/CN=estExampleCA"" |
set EST_OPENSSLCMD_CAECPARAMSFILE=%EST_OPENSSL_CADIR%\prime256v1.pem |
:: if you want to use EC certificates set the ..._NEWKEY_PARAM like this: |
set EST_OPENSSLCMD_CANEWKEY_PARAM=""-newkey ec:%EST_OPENSSLCMD_CAECPARAMSFILE%"" |
::set EST_OPENSSLCMD_CANEWKEY_PARAM= |
:: to enable verbose debugging of curl exchanges set this |
set CURLCMD_VERBOSE="" "" |
::set CURLCMD_VERBOSE=""--verbose --trace -"" |
::set CURLCMD_VERBOSE=""--verbose --trace-ascii -"" |
:: TODO: URGENT: why doesn't this work!? |
:: Openssl needs to know where to put the RANDFILE |
set RANDFILE=%HOMEPATH%\.rnd |
:: NOTE: est itself allows the CN= to be different than the FQDN but |
:: curl is used from the demo client and curl mandates the HTTPS |
:: RFC2818 section 3.1 Server Identity limitations. Thus we use |
:: 127.0.0.1 here for the CN. If a real deployment were to use a |
:: curl script there would be an assumption of DNS (and proper FQDN |
:: in the issued est server certificate) |
:: curl error looks like: |
:: * SSL: certificate subject name 'estExampleServer' does not match target host name '127.0.0.1' |
::set EST_SERVER_SUBJ=/CN=estExampleServer |
set EST_SERVER_SUBJ=/CN=127.0.0.1 |
set EST_SERVER_CERTREQ=%EST_OPENSSL_CADIR%\estserver.req |
set EST_SERVER_CERT=%EST_OPENSSL_CADIR%\estserver.crt |
set EST_SERVER_PRIVKEY=%EST_OPENSSL_CAPRIVDIR%\estserver.pem |
set EST_SERVER_CERTANDKEY=%EST_OPENSSL_CAPRIVDIR%\estservercertandkey.pem |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.