Commit Graph

168 Commits

Author SHA1 Message Date
Sebastien Dudek 00fc8c93d8 Mitigates CVE-2021-45046 2021-12-15 16:54:31 +01:00
Marc Mültin 7d89c9a15c
Merge pull request #74 from SwitchEV/fix/terminate_session_meter_receipt_res
Fix: Terminate session after Metering Receipt when requesting STOP Charging.
2021-11-16 16:04:30 -08:00
Jesse Kerkhoven 9788955003 Fix: Terminate session after Metering Receipt when requesting STOP Charging. Fixes #66 2021-10-18 15:07:30 +02:00
Marc Mültin d569486e24
Update README.md
Added a "Support Update" notice to inform about discontinuation of the support for RISE V2G
2021-09-08 12:10:01 +01:00
Marc Mültin 9abd5ae729 Updated version number from 1.2.5 to 1.2.6 2020-07-23 17:41:52 +01:00
Marc Mültin 0711b49b69 Merge branch 'master' of https://github.com/V2GClarity/RISE-V2G 2020-07-23 17:38:37 +01:00
Marc Mültin b5beeca0db
Merge pull request #46 from mrbig/master
Remove singleton instances once the client is finished
2020-07-23 17:37:51 +01:00
Marc Mültin ce7c41d9cd Replaced a hard-coded keystore for the EVCC with the value given in the GlobalValues file (GlobalValues.EVCC_KEYSTORE_FILEPATH) 2020-07-23 17:33:56 +01:00
Marc Mültin 9239fe736d Merge branch 'master' of https://github.com/V2GClarity/RISE-V2G 2020-07-23 17:22:08 +01:00
Marc Mültin 0e9a797d03
Merge pull request #54 from jessekerkhoven/master
Fix typo, verify leaf certificate attributes
2020-07-23 17:21:48 +01:00
Marc Mültin fa9f2ee1b0 Fixes issue #41 and updates log4j library (api and core) from 2.13.3 2020-07-23 17:12:55 +01:00
Marc Mültin 2e5644272b
Updated log4j-core from 2.9.1 to 2.31.2
Due to notification from dependability bot (security issue was raised)
2020-07-22 16:08:31 +01:00
Jesse Kerkhoven 779a0b71b4 Fix typo, verify leaf certificate attributes
The result of the verify leaf certificate attributes was ignored and always be OK. This fix will return corresponding error when verify leaf certificate attributes returns a not OK response code.
2020-07-07 10:31:56 +02:00
Marc Mültin b0222e41c0
Merge pull request #52 from V2GClarity/dependabot/maven/RISE-V2G-Shared/xerces-xercesImpl-2.12.0
Bump xercesImpl from 2.11.0 to 2.12.0 in /RISE-V2G-Shared
2020-06-19 10:16:25 +02:00
dependabot[bot] 16cc2ec472
Bump xercesImpl from 2.11.0 to 2.12.0 in /RISE-V2G-Shared
Bumps xercesImpl from 2.11.0 to 2.12.0.

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-15 19:20:42 +00:00
Nagy Attila Gabor 79917ab517 Inlined releaseInstance methods 2020-05-03 12:31:33 +02:00
Marc Mültin ebd66e446e Fixed a potential NullPointerException when UDP client tries to send an SECCDiscoveryReq message although the getLinkLocalAddress method of the class shared.utils.MiscUtils doesn't find a valid network interface according to the name found in the EVCCConfig.properties file. 2020-05-02 15:03:09 +02:00
Marc Mültin b3ff868ad5
Merge pull request #51 from mrbig/f/better_stop_handling
Treat DC Shutdown status as valid when STOP power delivery is requested
2020-05-02 14:16:58 +02:00
Marc Mültin 7a8e3a9a23
Update WaitForPowerDeliveryReq.java
Changed the error log into  a warn log an EVSE-initiated shutdown could be the cause for the corresponding DC_EVSE_StatusCode.
2020-05-02 14:15:25 +02:00
Marc Mültin a17f8302c4
Merge pull request #50 from CommentSectionScientist/UseEntrySetWhenUsingKeyAndValue
Use EntrySet when iterating over a Map and using key and value
2020-05-02 14:03:12 +02:00
Marc Mültin 1d4d22b3f1
Merge pull request #48 from CommentSectionScientist/RemovesUnusedDuplicatedMethod
Removes unused Getter and renames Setter
2020-05-02 13:51:45 +02:00
Marc Mültin 3ec641f05d
Merge pull request #47 from CommentSectionScientist/UseTryWithResources
Use try with resources when handling FileStreams
2020-05-02 13:45:36 +02:00
Marc Mültin 7fb507a075 Added comment on how to make sure only the name elliptic curve "secp256r1" is allowed for ECDH(E). 2020-05-02 12:14:01 +02:00
Nagy Attila Gabor 5446786323 Treat DC Shutdown status codes as valid when STOP power delivery is requested
When an EVSE side shutdown is initated it's hard to tell from
the controller point of view wich exact state is requested. So in
WaitForPowerDeliveryReq we treat EVSE_SHUTDOWN and similar status codes
as valid when the EV requested a stop
2020-04-26 22:30:33 +02:00
CommentSectionScientist 9314a1d85e Use EntrySet when iteration over a Map and using both key and value of
the entry
2020-04-10 21:06:55 +02:00
CommentSectionScientist 048d06f6b9 Removes unused Getter and renames Setter 2020-04-10 20:05:49 +02:00
CommentSectionScientist 5ba4d9c26e Use try with resources when handling FileStreams 2020-04-10 19:57:01 +02:00
Nagy Attila Gabor a3b5c94d65 Remove singleton instances once the client is finished
This can prevent unwanted behavior to happen because of missing
initialization
2020-03-28 19:12:37 +01:00
Marc Mültin f9fce08e6c
Merge pull request #45 from mrbig/master
Replaced DummyEVController in ClientState with the appropriate interface
2020-03-26 14:58:09 +01:00
Nagy Attila Gabor 0909d425a9 Replaced DummyEVController with the appropriate interface 2020-03-22 23:29:36 +01:00
Marc Mültin bc1bdfd416 Corrected a typo in generateCertificates.bat in line 85 (should be v2gRootCA.key instead of v2gRootA.key) 2020-03-16 13:28:53 +00:00
Marc Mültin d3ae17798b The requirement [V2G2-684] was not implemented so far, this commit takes care of this now (sending an empty AuthorizationReq message if the EVSEProcessing field of AuthorizationRes is set to 'Ongoing') 2020-02-27 08:36:56 +01:00
Marc Mültin 5aa6cd3179 Modified pom.xml files regarding project version 2019-10-08 17:15:45 +02:00
Marc Mültin 2ae27ebeb5 Updated the version number of the pom.xml files to the newest release 1.2.5 2019-10-01 12:12:35 +02:00
Marc Mültin e6f7b4fd4e Implemented a working mechanism for pausing and resuming a charging session 2019-10-01 11:30:09 +02:00
Marc Mültin 7d7cbf9cad Merge branch 'master' of https://github.com/V2GClarity/RISE-V2G 2019-09-28 18:34:29 +02:00
Marc Mültin dbdd24b1df
Merge pull request #36 from tonsmets/master
Fix NoSuchMethodError: java.nio.ByteBuffer.limit(I)Ljava/nio/ByteBuff…
2019-09-28 18:31:41 +02:00
Marc Mültin c1140f98e7 Fixed copyright header (date) 2019-09-28 18:14:15 +02:00
Marc Mültin 4546e0e229 Added a check for unreasonably high payloads 2019-09-28 17:48:58 +02:00
Marc Mültin e5e2b55f9c Made SECC not request MeteringReceipt after each charging loop 2019-08-17 18:59:39 +02:00
Marc Mültin e4cc39807e Added mechanism in DummyEVController to trigger a renegotiation after 50 charging loops. Modified WaitForChargingStatusRes, WaitForCurrentDemandRes, and WaitForMeteringReceiptRes accordingly. 2019-08-17 18:58:36 +02:00
Ton Smets af64c19dc7
Fix NoSuchMethodError: java.nio.ByteBuffer.limit(I)Ljava/nio/ByteBuffer when compiling for release 8 with JDK9 2019-08-15 15:33:44 +02:00
Marc Mültin 5d27f228f3
Merge pull request #34 from jessekerkhoven/master
Fix typo that results in a null pointer when ChargingStatusRes hasn't populate the ReceiptRequired field
2019-06-24 12:53:47 +02:00
Marc Mültin 1727c36dcc Corrected a typo 2019-06-24 12:40:23 +02:00
Marc Mültin 70b0d19824 Added logging information about whether EV wants to pause or terminate the charging session with a SessionStopReq 2019-06-24 12:40:03 +02:00
Jesse Kerkhoven dbd0fe8da3 Fix typo that results in a null pointer
The old implementation uses a bitwise comparison 
that will validate both statements and will result
in a null pointer. The fix will do a
 logic comparison that will return if the first 
statement is null
2019-06-20 22:56:24 +02:00
Marc Mültin 21a66363d4
Update README.md
Updated links to online course descriptions
2019-04-15 13:32:05 +08:00
Marc Mültin 8a369a6e20
Update README.md
Changed email address of Jens Schmutzler (contact person for creating a user group account)
2019-03-22 09:37:25 +01:00
Marc Mültin 163224e437 Updated generateCertificates.bat (for Windows-based systems) to reflect the same change as in generateCertificats.sh (for Linux-based systems): provide a proper PKCS#12 encryption algorithm that Java 1.8 can handle when reading the private key moSubCA2.pkcs8.der 2019-03-22 00:53:49 +01:00
Marc Mültin 77c2d5252a Updated generateCertificates.bat (for Windows-based systems) to reflect the same change as in generateCertificats.sh (for Linux-based systems): provide a proper PKCS#12 encryption algorithm that Java 1.8 can handle when reading the private key moSubCA2.pkcs8.der 2019-03-22 00:44:19 +01:00