From: Mark Wooding Date: Tue, 7 Feb 2006 11:17:32 +0000 (+0000) Subject: test: Actually ship the test keyring file. X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb-perl/commitdiff_plain/8c0425124f855635cc5c7bbbffbfe94b6c4bd161 test: Actually ship the test keyring file. --- diff --git a/.gitignore b/.gitignore index 1b31d05..31d8e02 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,8 @@ catacomb.c keyring.old keyring pm_to_blib - +*.o +MANIFEST +MANIFEST.bak +META.yml +catacomb-perl-*.tar.gz diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP index 1cb3644..1dbbeaf 100644 --- a/MANIFEST.SKIP +++ b/MANIFEST.SKIP @@ -1,6 +1,8 @@ ~$ ^Makefile$ -^\.cvsignore$ +(^|/)\.cvsignore$ +(^|/)\.gitignore$ +^\.git/ ^\.skelrc \bCVS\B \.o$ @@ -8,6 +10,7 @@ ^blib/ ^# \.aperl$ +^keyring$ \.old$ ^core$ ^catacomb\.c$ diff --git a/keyring.test b/keyring.test new file mode 100644 index 0000000..a01d473 --- /dev/null +++ b/keyring.test @@ -0,0 +1,4 @@ +9639ffd1:tripe-ec:tux struct:[p=ec,public:0x818e246b4a21a373cfa978b1a522dc6a5414da428e7f456812ff17f12ad96ad6,0xfbec5c29fcf113f1a27a526158138ee809784043320ed1971b865b96d2860f78,curve=string,shared:nist%2dp256] forever forever hash=sha256&cipher=blowfish%2dcbc&mac=sha256%2dhmac%2f128 +13c41935:tripe-ec:daryl struct:[p=ec,public:0xcba0e412cb47b8c43fcdb490d634511bd117eeca3173882472f8ba9c2e6dfff2,0x23e008ee6b1327c8eb3131405a41dca2f19092f15b0a2773a28599bba768129,curve=string,shared:nist%2dp256] forever forever hash=sha256&cipher=blowfish%2dcbc&mac=sha256%2dhmac%2f128 +85cb23dc:rsa struct:[private=encrypt,secret:rv7aCgxsuyPYBnczNF6WZBOdJCS0l0/MtL9sY8dQfaQyxuSM3Xh+NJZsAg/vb/r5bHgoChtDkkdllMJV1o628O+tn2CS7KSKkYJdqCL7jUF3f8hUzi/da0ZU3+JgkNeoAeBZxC7mRhfyA79bJGSRvn6MCIy8vBy/tjH+laYsFySaCj9ibsmSV/ZkjnJR8cie9tk+gon0UtwkKeZmMxeF5tSMnNfAxrU0s4hUPLTq/Bzp3eiOkCD/rufuVbwXTqGX7EZxlm3frd4qVk9SOwxI7u5ahEJf3bel64108Q6OEogzlZ78dgkkzDcGICrzuSgZ82pzhfzAw6JKISXt5AXGnRizl1j6/olyMrvPKva+aL8FYTYe8XLnu7cl4dmZut1QPH4Qion9f1DV38T0I2W9GlfYi68EghNdJ2IdAyMhA+ZLKtvEi/tTB2birE1DVDUB6QtkiiD8QpGVpsAUMbvB3NTRODrS/wM5TZEm5T/8MnRGhoL9dWvCO2SG0kiHOE3j7IF6XWBierUpC4QQGhgV48W+gjoeRSX2yOJiz+VugKubpj6wOLynmKPUA+xmE+exa0/cSRFgWh/OilmBAQVioB6nhILUCh6Y8TECM9aGjP6mURCWV3tuaWDwp/zRiN6okCXQw+dRCVXOrKbv9eRhoTqf/O21SCfUVgEEQUPwwYkLLxSrLtv1Q5OwTziDhSkpcVV83P+jnFYljaqgVeMzjowSabv00H4C,n=integer,public:33500987052183301269933851069724778588307580999929040281833197360736910130910424341489050034019032215726838233940455368024695289687877754101449414485299222882561949337278063460799668121197008883817425122363188564510189936736744999394942807921620819215753206216136392052520000794646686631066265300793674784767,e=integer,public:65537] forever forever - +28b99e2e:tripe-ec-param:param struct:[curve=string,shared:nist%2dp256] forever forever hash=sha256&cipher=blowfish%2dcbc&mac=sha256%2dhmac%2f128 diff --git a/t/key.t b/t/key.t index 0bf3754..9dd8f75 100644 --- a/t/key.t +++ b/t/key.t @@ -32,6 +32,8 @@ sub checkhash { return 1; } +system "cp keyring.test keyring"; + # Simple stuff $f = Catacomb::Key::File->new("keyring"); ok defined $f; #t 1 $k = $f->bytag("tux"); ok defined $k; #t 2