Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Code for generating ecdsa secp256r1 objects #133

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

ROA

4674d1b
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

WIP: Code for generating ecdsa secp256r1 objects #133

ROA
4674d1b
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Report failed Sep 1, 2023 in 0s

705 tests run, 11 skipped, 334 failed.

Annotations

Check failure on line 29 in src/test/java/net/ripe/rpki/commons/crypto/cms/RPKISignedDataGeneratorTest.java

See this annotation in the file changed.

@github-actions github-actions / Test Report

RPKISignedDataGeneratorTest.originalBCSignedDataGeneratorShouldGenerateBERSequenceContentInfo

java.lang.ExceptionInInitializerError
	at net.ripe.rpki.commons.crypto.cms.RPKISignedDataGeneratorTest.setup(RPKISignedDataGeneratorTest.java:29)
Raw output
java.lang.ExceptionInInitializerError
	at net.ripe.rpki.commons.crypto.cms.RPKISignedDataGeneratorTest.setup(RPKISignedDataGeneratorTest.java:29)
Caused by: java.lang.RuntimeException: net.ripe.rpki.commons.crypto.x509cert.X509ResourceCertificateBuilderException: org.bouncycastle.operator.OperatorCreationException: cannot create signer: no such algorithm: SHA256WITHECDSA for provider SunRsaSign
	at net.ripe.rpki.commons.crypto.cms.RPKISignedDataGeneratorTest.setup(RPKISignedDataGeneratorTest.java:29)
Caused by: net.ripe.rpki.commons.crypto.x509cert.X509ResourceCertificateBuilderException: org.bouncycastle.operator.OperatorCreationException: cannot create signer: no such algorithm: SHA256WITHECDSA for provider SunRsaSign
	at net.ripe.rpki.commons.crypto.cms.RPKISignedDataGeneratorTest.setup(RPKISignedDataGeneratorTest.java:29)
Caused by: org.bouncycastle.operator.OperatorCreationException: cannot create signer: no such algorithm: SHA256WITHECDSA for provider SunRsaSign
	at net.ripe.rpki.commons.crypto.cms.RPKISignedDataGeneratorTest.setup(RPKISignedDataGeneratorTest.java:29)
Caused by: java.security.NoSuchAlgorithmException: no such algorithm: SHA256WITHECDSA for provider SunRsaSign
	at net.ripe.rpki.commons.crypto.cms.RPKISignedDataGeneratorTest.setup(RPKISignedDataGeneratorTest.java:29)

Check failure on line 29 in src/test/java/net/ripe/rpki/commons/crypto/cms/RPKISignedDataGeneratorTest.java

See this annotation in the file changed.

@github-actions github-actions / Test Report

RPKISignedDataGeneratorTest.rpkiSignedDataGeneratorShouldGenerateSignedDataWithDERSequenceContentInfo

Could not initialize class net.ripe.rpki.commons.provisioning.x509.ProvisioningCmsCertificateBuilderTest
Raw output
java.lang.NoClassDefFoundError: Could not initialize class net.ripe.rpki.commons.provisioning.x509.ProvisioningCmsCertificateBuilderTest
	at net.ripe.rpki.commons.crypto.cms.RPKISignedDataGeneratorTest.setup(RPKISignedDataGeneratorTest.java:29)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.RuntimeException: net.ripe.rpki.commons.crypto.x509cert.X509ResourceCertificateBuilderException: org.bouncycastle.operator.OperatorCreationException: cannot create signer: no such algorithm: SHA256WITHECDSA for provider SunRsaSign [in thread "main"]
	at net.ripe.rpki.commons.crypto.cms.RPKISignedDataGeneratorTest.setup(RPKISignedDataGeneratorTest.java:29)

Check failure on line 42 in src/test/java/net/ripe/rpki/commons/crypto/cms/aspa/AspaCmsTest.java

See this annotation in the file changed.

@github-actions github-actions / Test Report

AspaCmsTest.should_reject_creating_aspa_with_empty_provider_as_set

Could not initialize class net.ripe.rpki.commons.crypto.util.KeyPairFactoryTest
Raw output
java.lang.NoClassDefFoundError: Could not initialize class net.ripe.rpki.commons.crypto.util.KeyPairFactoryTest
	at net.ripe.rpki.commons.crypto.cms.aspa.AspaCmsTest.<clinit>(AspaCmsTest.java:42)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.RuntimeException: net.ripe.rpki.commons.crypto.x509cert.X509ResourceCertificateBuilderException: org.bouncycastle.operator.OperatorCreationException: cannot create signer: no such algorithm: SHA256WITHECDSA for provider SunRsaSign [in thread "main"]

Check failure on line 42 in src/test/java/net/ripe/rpki/commons/crypto/cms/aspa/AspaCmsTest.java

See this annotation in the file changed.

@github-actions github-actions / Test Report

AspaCmsTest.should_generate_aspa

Unexpected error in property should_generate_aspa with args [1489690897, [ProviderAS(providerAsn=AS2523571542, afiLimit=Optional.empty)]] and seeds [3012215104696007659, -2167470588552186187]
Raw output
java.lang.AssertionError: Unexpected error in property should_generate_aspa with args [1489690897, [ProviderAS(providerAsn=AS2523571542, afiLimit=Optional.empty)]] and seeds [3012215104696007659, -2167470588552186187]
	at net.ripe.rpki.commons.crypto.cms.aspa.AspaCmsTest.<clinit>(AspaCmsTest.java:42)

Check failure on line 30 in src/test/java/net/ripe/rpki/commons/crypto/cms/ghostbuster/GhostbustersCmsParserTest.java

See this annotation in the file changed.

@github-actions github-actions / Test Report

GhostbustersCmsParserTest.ghostbusters_record_must_have_vcard

Could not initialize class net.ripe.rpki.commons.crypto.util.KeyPairFactoryTest
Raw output
java.lang.NoClassDefFoundError: Could not initialize class net.ripe.rpki.commons.crypto.util.KeyPairFactoryTest
	at net.ripe.rpki.commons.crypto.cms.ghostbuster.GhostbustersCmsParserTest.<clinit>(GhostbustersCmsParserTest.java:30)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.RuntimeException: net.ripe.rpki.commons.crypto.x509cert.X509ResourceCertificateBuilderException: org.bouncycastle.operator.OperatorCreationException: cannot create signer: no such algorithm: SHA256WITHECDSA for provider SunRsaSign [in thread "main"]

Check failure on line 30 in src/test/java/net/ripe/rpki/commons/crypto/cms/ghostbuster/GhostbustersCmsParserTest.java

See this annotation in the file changed.

@github-actions github-actions / Test Report

GhostbustersCmsParserTest.ghostbusters_record_must_have_single_vcard

Could not initialize class net.ripe.rpki.commons.crypto.cms.ghostbuster.GhostbustersCmsParserTest
Raw output
java.lang.NoClassDefFoundError: Could not initialize class net.ripe.rpki.commons.crypto.cms.ghostbuster.GhostbustersCmsParserTest
	at net.ripe.rpki.commons.crypto.cms.ghostbuster.GhostbustersCmsParserTest.<clinit>(GhostbustersCmsParserTest.java:30)

Check failure on line 30 in src/test/java/net/ripe/rpki/commons/crypto/cms/ghostbuster/GhostbustersCmsParserTest.java

See this annotation in the file changed.

@github-actions github-actions / Test Report

GhostbustersCmsParserTest.testShouldParseBadGbr

Could not initialize class net.ripe.rpki.commons.crypto.cms.ghostbuster.GhostbustersCmsParserTest
Raw output
java.lang.NoClassDefFoundError: Could not initialize class net.ripe.rpki.commons.crypto.cms.ghostbuster.GhostbustersCmsParserTest
	at net.ripe.rpki.commons.crypto.cms.ghostbuster.GhostbustersCmsParserTest.<clinit>(GhostbustersCmsParserTest.java:30)

Check failure on line 27 in src/test/java/net/ripe/rpki/commons/crypto/cms/manifest/ManifestCMSBuilderPropertyTest.java

See this annotation in the file changed.

@github-actions github-actions / Test Report

ManifestCMSBuilderPropertyTest.buildEncodedParseCheck

Unexpected error in property buildEncodedParseCheck with args [[], 1, -1769258127] and seeds [3066126935726452417, -1467491046796925891, -2263402364225097543]
Raw output
java.lang.AssertionError: Unexpected error in property buildEncodedParseCheck with args [[], 1, -1769258127] and seeds [3066126935726452417, -1467491046796925891, -2263402364225097543]
	at net.ripe.rpki.commons.crypto.cms.manifest.ManifestCMSBuilderPropertyTest.buildEncodedParseCheck(ManifestCMSBuilderPropertyTest.java:27)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: Could not initialize class net.ripe.rpki.commons.crypto.util.KeyPairFactoryTest [in thread "main"]

Check failure on line 20 in src/test/java/net/ripe/rpki/commons/crypto/cms/manifest/ManifestCmsBuilderTest.java

See this annotation in the file changed.

@github-actions github-actions / Test Report

ManifestCmsBuilderTest.shouldCalculateHashAndWriteFile

Could not initialize class net.ripe.rpki.commons.crypto.util.KeyPairFactoryTest
Raw output
java.lang.NoClassDefFoundError: Could not initialize class net.ripe.rpki.commons.crypto.util.KeyPairFactoryTest
	at net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsBuilderTest.<init>(ManifestCmsBuilderTest.java:20)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.RuntimeException: net.ripe.rpki.commons.crypto.x509cert.X509ResourceCertificateBuilderException: org.bouncycastle.operator.OperatorCreationException: cannot create signer: no such algorithm: SHA256WITHECDSA for provider SunRsaSign [in thread "main"]

Check failure on line 20 in src/test/java/net/ripe/rpki/commons/crypto/cms/manifest/ManifestCmsBuilderTest.java

See this annotation in the file changed.

@github-actions github-actions / Test Report

ManifestCmsBuilderTest.shouldEncodeFileList

Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsParserTest
Raw output
java.lang.NoClassDefFoundError: Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsParserTest
	at net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsBuilderTest.<init>(ManifestCmsBuilderTest.java:20)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: Could not initialize class net.ripe.rpki.commons.crypto.util.KeyPairFactoryTest [in thread "main"]
	at net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsBuilderTest.<init>(ManifestCmsBuilderTest.java:20)

Check failure on line 20 in src/test/java/net/ripe/rpki/commons/crypto/cms/manifest/ManifestCmsBuilderTest.java

See this annotation in the file changed.

@github-actions github-actions / Test Report

ManifestCmsBuilderTest.shouldEncodeEmptyFileList

Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsParserTest
Raw output
java.lang.NoClassDefFoundError: Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsParserTest
	at net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsBuilderTest.<init>(ManifestCmsBuilderTest.java:20)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: Could not initialize class net.ripe.rpki.commons.crypto.util.KeyPairFactoryTest [in thread "main"]
	at net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsBuilderTest.<init>(ManifestCmsBuilderTest.java:20)

Check failure on line 20 in src/test/java/net/ripe/rpki/commons/crypto/cms/manifest/ManifestCmsBuilderTest.java

See this annotation in the file changed.

@github-actions github-actions / Test Report

ManifestCmsBuilderTest.shouldTrackFilenameAndHash

Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsParserTest
Raw output
java.lang.NoClassDefFoundError: Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsParserTest
	at net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsBuilderTest.<init>(ManifestCmsBuilderTest.java:20)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: Could not initialize class net.ripe.rpki.commons.crypto.util.KeyPairFactoryTest [in thread "main"]
	at net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsBuilderTest.<init>(ManifestCmsBuilderTest.java:20)

Check failure on line 20 in src/test/java/net/ripe/rpki/commons/crypto/cms/manifest/ManifestCmsBuilderTest.java

See this annotation in the file changed.

@github-actions github-actions / Test Report

ManifestCmsBuilderTest.shouldEncodeManifest

Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsParserTest
Raw output
java.lang.NoClassDefFoundError: Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsParserTest
	at net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsBuilderTest.<init>(ManifestCmsBuilderTest.java:20)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: Could not initialize class net.ripe.rpki.commons.crypto.util.KeyPairFactoryTest [in thread "main"]
	at net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsBuilderTest.<init>(ManifestCmsBuilderTest.java:20)

Check failure on line 20 in src/test/java/net/ripe/rpki/commons/crypto/cms/manifest/ManifestCmsBuilderTest.java

See this annotation in the file changed.

@github-actions github-actions / Test Report

ManifestCmsBuilderTest.shouldEncodeFileAndHash

Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsParserTest
Raw output
java.lang.NoClassDefFoundError: Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsParserTest
	at net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsBuilderTest.<init>(ManifestCmsBuilderTest.java:20)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: Could not initialize class net.ripe.rpki.commons.crypto.util.KeyPairFactoryTest [in thread "main"]
	at net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsBuilderTest.<init>(ManifestCmsBuilderTest.java:20)

Check failure on line 36 in src/test/java/net/ripe/rpki/commons/crypto/cms/manifest/ManifestCmsParserTest.java

See this annotation in the file changed.

@github-actions github-actions / Test Report

ManifestCmsParserTest.shouldDecodeManifest

Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsParserTest
Raw output
java.lang.NoClassDefFoundError: Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsParserTest
	at net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsParserTest.<clinit>(ManifestCmsParserTest.java:36)

Check failure on line 36 in src/test/java/net/ripe/rpki/commons/crypto/cms/manifest/ManifestCmsParserTest.java

See this annotation in the file changed.

@github-actions github-actions / Test Report

ManifestCmsParserTest.shouldDecodeFileAndHash

Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsParserTest
Raw output
java.lang.NoClassDefFoundError: Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsParserTest
	at net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsParserTest.<clinit>(ManifestCmsParserTest.java:36)

Check failure on line 36 in src/test/java/net/ripe/rpki/commons/crypto/cms/manifest/ManifestCmsParserTest.java

See this annotation in the file changed.

@github-actions github-actions / Test Report

ManifestCmsParserTest.shouldDecodeEmptyFileList

Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsParserTest
Raw output
java.lang.NoClassDefFoundError: Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsParserTest
	at net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsParserTest.<clinit>(ManifestCmsParserTest.java:36)

Check failure on line 36 in src/test/java/net/ripe/rpki/commons/crypto/cms/manifest/ManifestCmsParserTest.java

See this annotation in the file changed.

@github-actions github-actions / Test Report

ManifestCmsParserTest.shouldRejectManifestWithNonInheritEECert

Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsParserTest
Raw output
java.lang.NoClassDefFoundError: Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsParserTest
	at net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsParserTest.<clinit>(ManifestCmsParserTest.java:36)

Check failure on line 36 in src/test/java/net/ripe/rpki/commons/crypto/cms/manifest/ManifestCmsParserTest.java

See this annotation in the file changed.

@github-actions github-actions / Test Report

ManifestCmsParserTest.shouldDecodeFileList

Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsParserTest
Raw output
java.lang.NoClassDefFoundError: Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsParserTest
	at net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsParserTest.<clinit>(ManifestCmsParserTest.java:36)

Check failure on line 59 in src/test/java/net/ripe/rpki/commons/crypto/cms/manifest/ManifestCmsTest.java

See this annotation in the file changed.

@github-actions github-actions / Test Report

ManifestCmsTest.shouldValidateManifestCms

Could not initialize class net.ripe.rpki.commons.crypto.util.KeyPairFactoryTest
Raw output
java.lang.NoClassDefFoundError: Could not initialize class net.ripe.rpki.commons.crypto.util.KeyPairFactoryTest
	at net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsTest.<clinit>(ManifestCmsTest.java:59)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.RuntimeException: net.ripe.rpki.commons.crypto.x509cert.X509ResourceCertificateBuilderException: org.bouncycastle.operator.OperatorCreationException: cannot create signer: no such algorithm: SHA256WITHECDSA for provider SunRsaSign [in thread "main"]

Check failure on line 59 in src/test/java/net/ripe/rpki/commons/crypto/cms/manifest/ManifestCmsTest.java

See this annotation in the file changed.

@github-actions github-actions / Test Report

ManifestCmsTest.shouldWarnWhenManifestIsStale

Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsTest
Raw output
java.lang.NoClassDefFoundError: Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsTest
	at net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsTest.<clinit>(ManifestCmsTest.java:59)

Check failure on line 59 in src/test/java/net/ripe/rpki/commons/crypto/cms/manifest/ManifestCmsTest.java

See this annotation in the file changed.

@github-actions github-actions / Test Report

ManifestCmsTest.shouldRejectFileNamesThatEscapeRepository

Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsTest
Raw output
java.lang.NoClassDefFoundError: Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsTest
	at net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsTest.<clinit>(ManifestCmsTest.java:59)

Check failure on line 59 in src/test/java/net/ripe/rpki/commons/crypto/cms/manifest/ManifestCmsTest.java

See this annotation in the file changed.

@github-actions github-actions / Test Report

ManifestCmsTest.shouldNotMatchIfAdditionalFilesPresent

Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsTest
Raw output
java.lang.NoClassDefFoundError: Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsTest
	at net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsTest.<clinit>(ManifestCmsTest.java:59)

Check failure on line 59 in src/test/java/net/ripe/rpki/commons/crypto/cms/manifest/ManifestCmsTest.java

See this annotation in the file changed.

@github-actions github-actions / Test Report

ManifestCmsTest.shouldRejectWhenThisUpdateInFuture

Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsTest
Raw output
java.lang.NoClassDefFoundError: Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsTest
	at net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsTest.<clinit>(ManifestCmsTest.java:59)

Check failure on line 59 in src/test/java/net/ripe/rpki/commons/crypto/cms/manifest/ManifestCmsTest.java

See this annotation in the file changed.

@github-actions github-actions / Test Report

ManifestCmsTest.shouldRejectWhenManifestIsTooStaleDueToNegativeGracePeriod

Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsTest
Raw output
java.lang.NoClassDefFoundError: Could not initialize class net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsTest
	at net.ripe.rpki.commons.crypto.cms.manifest.ManifestCmsTest.<clinit>(ManifestCmsTest.java:59)