-
Notifications
You must be signed in to change notification settings - Fork 109
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
Initial support for elliptical curves #915
Commits on Nov 1, 2019
-
Generate key pairs using encryptor rather than fixed values to
enable tests for different encryptor implementations.
Configuration menu - View commit details
-
Copy full SHA for 3a8a7bc - Browse repository at this point
Copy the full SHA 3a8a7bcView commit details -
ignore push test as fixtures are tricky to generate and this is covered
in our send scenerios. Add todo comments to failure scenerios documentating the danger of false positives.
Configuration menu - View commit details
-
Copy full SHA for 6c80eb7 - Browse repository at this point
Copy the full SHA 6c80eb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 088dc82 - Browse repository at this point
Copy the full SHA 088dc82View commit details -
Ensure that JACL encryptor is returned despite AEC being available in
classloader. Temporary measure until config changes for alternative encryptors is added. Conflicts: encryption/encryption-api/src/main/java/com/quorum/tessera/encryption/EncryptorFactory.java
Configuration menu - View commit details
-
Copy full SHA for 03ec3eb - Browse repository at this point
Copy the full SHA 03ec3ebView commit details -
Move payload build to be inner class to control and tighten up creation
logic. Mock payloads in test in code module reducing cross impacts of any changes to encoding logic. Conflicts: enclave/enclave-api/src/main/java/com/quorum/tessera/enclave/EnclaveImpl.java enclave/enclave-api/src/main/java/com/quorum/tessera/enclave/EncodedPayload.java enclave/enclave-api/src/main/java/com/quorum/tessera/enclave/EncodedPayloadBuilder.java enclave/enclave-api/src/main/java/com/quorum/tessera/enclave/PayloadEncoderImpl.java enclave/enclave-api/src/test/java/com/quorum/tessera/enclave/EnclaveTest.java enclave/enclave-api/src/test/java/com/quorum/tessera/enclave/PayloadEncoderTest.java enclave/enclave-jaxrs/src/test/java/com/quorum/tessera/enclave/rest/Fixtures.java tessera-core/src/test/java/com/quorum/tessera/transaction/ResendManagerTest.java tessera-sync/src/test/java/com/quorum/tessera/sync/Fixtures.java
Configuration menu - View commit details
-
Copy full SHA for c75aea9 - Browse repository at this point
Copy the full SHA c75aea9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 812d318 - Browse repository at this point
Copy the full SHA 812d318View commit details -
Move config properties into root package to stop moxy generating
unwanted namespaces.
Configuration menu - View commit details
-
Copy full SHA for 6472d9c - Browse repository at this point
Copy the full SHA 6472d9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9c3f1a - Browse repository at this point
Copy the full SHA e9c3f1aView commit details -
Add type property to factories and filter on that. Allow optional
injection of properties as map for custom configuration when creating encryptors. Conflicts: encryption/encryption-api/src/main/java/com/quorum/tessera/encryption/EncryptorFactory.java encryption/encryption-api/src/test/java/com/quorum/tessera/encryption/MockEncryptorFactory.java encryption/encryption-jnacl/src/main/java/com/quorum/tessera/nacl/jnacl/JnaclFactory.java encryption/encryption-kalium/src/main/java/com/quorum/tessera/nacl/kalium/KaliumFactory.java
Configuration menu - View commit details
-
Copy full SHA for 8083f5a - Browse repository at this point
Copy the full SHA 8083f5aView commit details -
All code changes required to add alternative encryptor implementations,
specifically elliptical curves. Changed test fixtures across project not to assume nacl. Conflicts: config-migration/src/main/java/com/quorum/tessera/config/builder/ConfigBuilder.java config/src/main/java/com/quorum/tessera/config/keypairs/InlineKeypair.java config/src/main/java/com/quorum/tessera/config/keys/KeyEncryptorFactory.java enclave/enclave-api/src/main/java/com/quorum/tessera/enclave/EnclaveFactory.java encryption/encryption-api/src/test/java/com/quorum/tessera/encryption/EncryptorFactoryTest.java key-generation/src/main/java/com/quorum/tessera/key/generation/DefaultKeyGeneratorFactory.java key-generation/src/main/java/com/quorum/tessera/key/generation/FileKeyGenerator.java tests/acceptance-test/pom.xml tests/acceptance-test/src/test/java/com/quorum/tessera/test/P2pTestSuite.java tests/acceptance-test/src/test/java/com/quorum/tessera/test/cli/keygen/FileKeygenSteps.java tests/acceptance-test/src/test/java/com/quorum/tessera/test/grpc/GrpcSuite.java tests/acceptance-test/src/test/java/com/quorum/tessera/test/rest/RestSuite.java tests/acceptance-test/src/test/java/com/quorum/tessera/test/rest/RestSuiteSimple.java tests/acceptance-test/src/test/java/com/quorum/tessera/test/rest/SendWithRemoteEnclaveReconnectIT.java tests/acceptance-test/src/test/java/com/quorum/tessera/test/rest/StressRestSuite.java tests/acceptance-test/src/test/java/com/quorum/tessera/test/ws/RestSuiteP2pWebsocketH2.java tests/acceptance-test/src/test/java/config/ConfigBuilder.java tests/acceptance-test/src/test/java/suite/ExecutionContext.java tests/acceptance-test/src/test/java/suite/ProcessConfig.java tests/acceptance-test/src/test/java/suite/ProcessConfiguration.java tests/acceptance-test/src/test/java/suite/TestSuite.java
Configuration menu - View commit details
-
Copy full SHA for d315079 - Browse repository at this point
Copy the full SHA d315079View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bc9717 - Browse repository at this point
Copy the full SHA 3bc9717View commit details -
Configuration menu - View commit details
-
Copy full SHA for c138411 - Browse repository at this point
Copy the full SHA c138411View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d1c323 - Browse repository at this point
Copy the full SHA 0d1c323View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60d28a1 - Browse repository at this point
Copy the full SHA 60d28a1View commit details
Commits on Nov 5, 2019
-
Dont provide default encrptor config intenally. Require that config
has config defined.
Configuration menu - View commit details
-
Copy full SHA for 0ee1c90 - Browse repository at this point
Copy the full SHA 0ee1c90View commit details
Commits on Nov 6, 2019
-
Move password file generation out of config factory.
Configuration menu - View commit details
-
Copy full SHA for 533db80 - Browse repository at this point
Copy the full SHA 533db80View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1159a2 - Browse repository at this point
Copy the full SHA c1159a2View commit details -
explicitly define passwords list as transient to prevent it
being marshalled.
Configuration menu - View commit details
-
Copy full SHA for 5f74fea - Browse repository at this point
Copy the full SHA 5f74feaView commit details -
Don't store passwords to file system prefer to store in password list
to be consumed by password resolver. Add tests to ensure that implicit protocol using absence or presence of passwords or passwordFile elements are still working as intended.
Configuration menu - View commit details
-
Copy full SHA for 2ee0fbe - Browse repository at this point
Copy the full SHA 2ee0fbeView commit details
Commits on Nov 7, 2019
-
Inject the encryptor into FileSystemKeyPair instead of InlineKeyPair
Fix some acceptance tests
Configuration menu - View commit details
-
Copy full SHA for 349fe62 - Browse repository at this point
Copy the full SHA 349fe62View commit details -
Validate that updatepassword requires that the encrpytor type is defi…
…ned. Keygen requires encrpytor type in config or as arg. For normal running default encryptor to NACL
Configuration menu - View commit details
-
Copy full SHA for 888fa07 - Browse repository at this point
Copy the full SHA 888fa07View commit details -
Remove recursive field check as cant compare different encryptor
implementations.
Configuration menu - View commit details
-
Copy full SHA for 4633556 - Browse repository at this point
Copy the full SHA 4633556View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ea53f3 - Browse repository at this point
Copy the full SHA 6ea53f3View commit details -
Dont validate key presents after unmarshal as this is suppressed unless
a key encryptor is present.
Configuration menu - View commit details
-
Copy full SHA for 05a41b5 - Browse repository at this point
Copy the full SHA 05a41b5View commit details -
Add encryptpr config to config object to deal with cases where not
defined on original config file.
Configuration menu - View commit details
-
Copy full SHA for 79f178e - Browse repository at this point
Copy the full SHA 79f178eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 56e8522 - Browse repository at this point
Copy the full SHA 56e8522View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d926ff - Browse repository at this point
Copy the full SHA 9d926ffView commit details
Commits on Nov 8, 2019
-
Configuration menu - View commit details
-
Copy full SHA for cf68cba - Browse repository at this point
Copy the full SHA cf68cbaView commit details -
Remove constructer that adds default encryptor as defaults are
provided in too many locations.
Configuration menu - View commit details
-
Copy full SHA for a63edeb - Browse repository at this point
Copy the full SHA a63edebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 318181a - Browse repository at this point
Copy the full SHA 318181aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c23bc07 - Browse repository at this point
Copy the full SHA c23bc07View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab881d9 - Browse repository at this point
Copy the full SHA ab881d9View commit details
Commits on Nov 12, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 7b0d659 - Browse repository at this point
Copy the full SHA 7b0d659View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6da2153 - Browse repository at this point
Copy the full SHA 6da2153View commit details
Commits on Nov 13, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 81ad2b1 - Browse repository at this point
Copy the full SHA 81ad2b1View commit details
Commits on Nov 14, 2019
-
Default encryptor type to NACL. Ensure that one of configfile, uddate…
…password or keygen is defined on Cli.
Configuration menu - View commit details
-
Copy full SHA for c5e8921 - Browse repository at this point
Copy the full SHA c5e8921View commit details -
Set JSON_REDUCE_ANY_ARRAYS on marshaller to stop map marshal returning
an array of values. Add tests for marshal and unmarshal. Ensure that w3c element is also handled in xml adapter as unmarhsal receives a list of dom elements rather than jaxb elements.
Configuration menu - View commit details
-
Copy full SHA for ee58618 - Browse repository at this point
Copy the full SHA ee58618View commit details