X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/blobdiff_plain/add23883a6378567be6b7866bc2ff2c32400a346..3eb084b221832483d34f0b701730537e76b6cecd:/server/tests.at?ds=sidebyside diff --git a/server/tests.at b/server/tests.at index 2d22c574..4da5f9a0 100644 --- a/server/tests.at +++ b/server/tests.at @@ -9,19 +9,18 @@ ### ### This file is part of Trivial IP Encryption (TrIPE). ### -### TrIPE is free software; you can redistribute it and/or modify -### it under the terms of the GNU General Public License as published by -### the Free Software Foundation; either version 2 of the License, or -### (at your option) any later version. +### TrIPE is free software: you can redistribute it and/or modify it under +### the terms of the GNU General Public License as published by the Free +### Software Foundation; either version 3 of the License, or (at your +### option) any later version. ### -### TrIPE is distributed in the hope that it will be useful, -### but WITHOUT ANY WARRANTY; without even the implied warranty of -### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -### GNU General Public License for more details. +### TrIPE is distributed in the hope that it will be useful, but WITHOUT +### ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +### FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +### for more details. ### ### You should have received a copy of the GNU General Public License -### along with TrIPE; if not, write to the Free Software Foundation, -### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +### along with TrIPE. If not, see . m4_define([nl], [ ]) @@ -35,7 +34,7 @@ m4_define([SETUPDIR], [ ## Running standard programs with useful options. m4_define([TRIPE], [env TRIPE_PRIVHELPER=$abs_top_builddir/priv/tripe-privhelper \ - $abs_top_builddir/server/tripe -F -d. -aadmin -p0 -b127.0.0.1 -talice \ + $abs_top_builddir/server/tripe -F -d. -aadmin -p0 -b127.0.0.1 \ ${TRIPE_TEST_TRACEOPTS+-T$TRIPE_TEST_TRACEOPTS}]) m4_define([TRIPECTL], [$abs_top_builddir/client/tripectl -d. -aadmin]) m4_define([USLIP], [$abs_top_builddir/uslip/tripe-uslip]) @@ -246,7 +245,7 @@ m4_define([AWAIT_KXDONE], [ case "$[]1:$[]2:$[]3" in OK::) ;; NOTE:KXDONE:$4) break ;; - NOTE:*) ;; + NOTE:* | TRACE:* | WARN:*) ;; *) exit 63 ;; esac done @@ -391,6 +390,7 @@ for k in alpha beta-new; do ESTABLISH([alice], [not-alice], [-key alice], [bob], [bob], []) ]) + for p in alice bob; do rm -rf $p.$k; mv $p $p.$k; done done AT_CLEANUP @@ -585,12 +585,12 @@ WITH_3TRIPES([alice], [bob], [carol], [-nslip -Tmx], for p in $princs; do TRIPECTL -d$p RELOAD; done AT_DATA([algs-alpha], [dnl -kx-group=ec kx-group-order-bits=256 kx-group-elt-bits=512 -hash=rmd160 mgf=rmd160-mgf hash-sz=20 -bulk-transform=v0 bulk-overhead=22 -cipher=blowfish-cbc cipher-keysz=20 cipher-blksz=8 -cipher-data-limit=67108864 -mac=rmd160-hmac mac-keysz=20 mac-tagsz=10 +kx-group=curve25519 kx-group-order-bits=252 kx-group-elt-bits=255 +hash=sha256 mgf=sha256-mgf hash-sz=32 +bulk-transform=naclbox bulk-overhead=20 +cipher=chacha20 cipher-keysz=32 +mac=poly1305 mac-tagsz=16 +cipher-data-limit=2147483648 ]) AT_DATA([algs-beta-old], [dnl @@ -598,8 +598,8 @@ kx-group=prime kx-group-order-bits=160 kx-group-elt-bits=1023 hash=rmd160 mgf=rmd160-mgf hash-sz=20 bulk-transform=v0 bulk-overhead=22 cipher=blowfish-cbc cipher-keysz=20 cipher-blksz=8 -cipher-data-limit=67108864 mac=rmd160-hmac mac-keysz=20 mac-tagsz=10 +cipher-data-limit=67108864 ]) AT_DATA([algs-beta-new], [dnl @@ -607,9 +607,9 @@ kx-group=ec kx-group-order-bits=161 kx-group-elt-bits=320 hash=rmd160 mgf=rmd160-mgf hash-sz=20 bulk-transform=iiv bulk-overhead=14 cipher=blowfish-cbc cipher-keysz=20 cipher-blksz=8 -cipher-data-limit=67108864 mac=rmd160-hmac mac-keysz=20 mac-tagsz=10 blkc=blowfish blkc-keysz=20 blkc-blksz=8 +cipher-data-limit=67108864 ]) cp algs-alpha expout; AT_CHECK([TRIPECTL -dalice ALGS],, [expout])