Skip to content

Commit

Permalink
feat: Adding AES GCM support (#26)
Browse files Browse the repository at this point in the history
* chore: use jest for tests

* tests: remove support for nodejs 12

* chore: add Jest types

* Adding GCM encryption support.

This adds GCM encryption. It is needed for newer firmware versions and replaces existing ECB for all pack encryptions BUT the scan command, which still runs on ECB for compatibility.

Tested on firmware 362001065279+U-WB05RT13V1.23

* feature: Add GCM encryption

* chore: cleanup

---------

Co-authored-by: Continuity <continuity@gmx.net>
  • Loading branch information
inwaar and cont1nuity authored Dec 1, 2024
1 parent 73cc97c commit 769c89a
Show file tree
Hide file tree
Showing 12 changed files with 15,564 additions and 7,542 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"extensions": [
"GitHub.vscode-github-actions",
"dbaeumer.vscode-eslint",
"hbenl.vscode-mocha-test-adapter"
"Orta.vscode-jest"
]
}
},
Expand Down
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module.exports = {
env: {
node: true,
es2021: true,
mocha: true,
jest: true,
},
plugins: ['jsdoc', 'prettier'],
overrides: [
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

strategy:
matrix:
node-version: [12, 14, 16, 18, 20, 22]
node-version: [14, 16, 18, 20, 22]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion README.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ A client for communicating with Gree air conditioners.

## Requirements

- NodeJS (>=12)
- NodeJS (>=14)

## Installation

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ A client for communicating with Gree air conditioners.

## Requirements

- NodeJS (>=12)
- NodeJS (>=14)

## Installation

Expand Down
Loading

0 comments on commit 769c89a

Please sign in to comment.