Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert "test: move x448 keypairs to fixtures/keys/"
This reverts commit 198162a.
  • Loading branch information
sam-github committed Jun 5, 2019
commit f2754452351b7fb2762f53a6bb6a97d34394c398
8 changes: 0 additions & 8 deletions test/fixtures/keys/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ all: \
x25519_public.pem \
ed448_private.pem \
ed448_public.pem \
x448_private.pem \
x448_public.pem \

#
# Create Certificate Authority: ca1
Expand Down Expand Up @@ -684,12 +682,6 @@ ed448_private.pem:
ed448_public.pem: ed448_private.pem
openssl pkey -in ed448_private.pem -pubout -out ed448_public.pem

x448_private.pem:
openssl genpkey -algorithm x448 -out x448_private.pem

x448_public.pem: x448_private.pem
openssl pkey -in x448_private.pem -pubout -out x448_public.pem

clean:
rm -f *.pfx *.pem *.srl ca2-database.txt ca2-serial fake-startcom-root-serial *.print *.old fake-startcom-root-issued-certs/*.pem
@> fake-startcom-root-database.txt
Expand Down
4 changes: 0 additions & 4 deletions test/fixtures/keys/x448_private.pem

This file was deleted.

4 changes: 0 additions & 4 deletions test/fixtures/keys/x448_public.pem

This file was deleted.

4 changes: 4 additions & 0 deletions test/fixtures/test_x448_privkey.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-----BEGIN PRIVATE KEY-----
MEYCAQAwBQYDK2VvBDoEOPilLIAZTQqUbFb0LhTGaqn47zN2p2yGVk+2hhQQk9C8
8SvFqEFw73YITSIJ2NUBZnZKNz2nGkrm
-----END PRIVATE KEY-----
4 changes: 4 additions & 0 deletions test/fixtures/test_x448_pubkey.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-----BEGIN PUBLIC KEY-----
MEIwBQYDK2VvAzkAbceBBM+LkveTK09QojZdnHokCh7lOWxyVZrlbH3Ny3WorprD
Iir5A6heZzlRnz1elOHp7ZpPfWk=
-----END PUBLIC KEY-----
6 changes: 3 additions & 3 deletions test/parallel/test-crypto-key-objects.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,9 @@ const privateDsa = fixtures.readKey('dsa_private_encrypted_1025.pem',
{ private: fixtures.readKey('x25519_private.pem', 'ascii'),
public: fixtures.readKey('x25519_public.pem', 'ascii'),
keyType: 'x25519' },
{ private: fixtures.readKey('x448_private.pem', 'ascii'),
public: fixtures.readKey('x448_public.pem', 'ascii'),
keyType: 'x448' },
{ private: fixtures.readSync('test_x448_privkey.pem', 'ascii'),
public: fixtures.readSync('test_x448_pubkey.pem', 'ascii'),
keyType: 'x448' }
].forEach((info) => {
const keyType = info.keyType;

Expand Down