Преглед на файлове

Fixed the env var for testing extended bit lengths.

tags/v1.2.0
John Shaver преди 1 година
родител
ревизия
cd0533a72b
променени са 3 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. +1
    -1
      .drone.yml
  2. +1
    -1
      README.md
  3. +2
    -2
      test.sh

+ 1
- 1
.drone.yml Целия файл

@@ -5,7 +5,7 @@ pipeline:
build:
image: node
environment:
RASHA_TEST_LARGE_KEYS: 1
RASHA_TEST_LARGE_KEYS: "true"
commands:
- npm install --ignore-scripts
- npm test

+ 1
- 1
README.md Целия файл

@@ -1,4 +1,4 @@
[Rasha.js](https://git.coolaj86.com/coolaj86/rasha.js) · [![Build Status](https://strong-emu-11.telebit.io/api/badges/jshaver/rasha.js/status.svg)](https://strong-emu-11.telebit.io/jshaver/rasha.js)
[Rasha.js](https://git.coolaj86.com/coolaj86/rasha.js) · [![Build Status](https://strong-emu-11.telebit.io/api/badges/coolaj86/rasha.js/status.svg)](https://strong-emu-11.telebit.io/coolaj86/rasha.js)
=========

Sponsored by [Root](https://therootcompany.com).


+ 2
- 2
test.sh Целия файл

@@ -149,14 +149,14 @@ rndkey 768
rndkey 1024
rndkey 2048 # first secure key size

if [ ${RASHA_TEST_LARGE_KEYS} ]; then
if [ "${RASHA_TEST_LARGE_KEYS}" == "true" ]; then
rndkey 3072
rndkey 4096 # largest reasonable key size
else
echo ""
echo "Note:"
echo "Keys larger than 2048 have been tested and work, but are omitted from automated tests to save time."
echo "Set RASHA_TEST_LARGE_KEYS=0 to enable testing of keys up to 4096."
echo "Set RASHA_TEST_LARGE_KEYS=true to enable testing of keys up to 4096."
fi

echo ""


Зареждане…
Отказ
Запис