Skip to content

Update ports to match new Arduino CA #95

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

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion .github/workflows/client-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: actions/checkout@v3

- name: '♻ Caching dependencies'
uses: actions/cache@v3.3.1
uses: actions/cache@v4.2.2
id: cache
with:
path: ~/cache/bin/
Expand Down
31 changes: 16 additions & 15 deletions src/arduino_iot_cloud/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,23 @@


CADATA = binascii.unhexlify(
b"308201cf30820174a00302010202141f101deba7e125e727c1a391e3ec0d"
b"174ded4a59300a06082a8648ce3d0403023045310b300906035504061302"
b"308201d030820176a00302010202146fad9e2bf56fd5b69a3c0698e43003"
b"0546f1075a300a06082a8648ce3d0403023045310b300906035504061302"
b"555331173015060355040a130e41726475696e6f204c4c43205553310b30"
b"09060355040b130249543110300e0603550403130741726475696e6f301e"
b"170d3138303732343039343730305a170d3438303731363039343730305a"
b"3045310b300906035504061302555331173015060355040a130e41726475"
b"696e6f204c4c43205553310b3009060355040b130249543110300e060355"
b"0403130741726475696e6f3059301306072a8648ce3d020106082a8648ce"
b"3d030107034200046d776c5acf611c7d449851f25ee1024077b79cbd49a2"
b"a38c4eab5e98ac82fc695b442277b44d2e8edf2a71c1396cd63914bdd96b"
b"184b4becb3d5ee4289895522a3423040300e0603551d0f0101ff04040302"
b"0106300f0603551d130101ff040530030101ff301d0603551d0e04160414"
b"5b3e2a6b8ec9b01aa854e6369b8c09f9fce1b980300a06082a8648ce3d04"
b"03020349003046022100bfd3dc236668b50adc3f0d0ec373e20ac7f760aa"
b"100dd320bfe102969b6b05d8022100ead9d9da5acd12529709a8ed660fe1"
b"8d6444ffe82217304ff2b89aafca8ecf6c"
b"09060355040b130249543110300e0603550403130741726475696e6f3020"
b"170d3235303131303130353332325a180f32303535303130333130353332"
b"325a3045310b300906035504061302555331173015060355040a130e4172"
b"6475696e6f204c4c43205553310b3009060355040b130249543110300e06"
b"03550403130741726475696e6f3059301306072a8648ce3d020106082a86"
b"48ce3d03010703420004a1e1536c35521a330de82bac5b12c18f5037b33e"
b"649ba0ee270235c78d5a1045d0caf552ec97f29aff81c6e279973fd339c6"
b"d7a1cc6b618570f63bae621d71c8a3423040300f0603551d130101ff0405"
b"30030101ff300e0603551d0f0101ff040403020106301d0603551d0e0416"
b"041442652984d00488d1c603f409b378e33b1228e03e300a06082a8648ce"
b"3d0403020348003045022100cfa4cb60ff5e8953abfdc554ff5d73c06a1f"
b"7bf16835ee29d41973325ec6555002206f2d2f74dad966c839a515a412f6"
b"81f2ee23d5925b5b11fbecd73fecc58667a7"
b"81f2ee23d5925b5b11fbecd73fecc58667a7"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
b"81f2ee23d5925b5b11fbecd73fecc58667a7"

The root certificate is:

b"308201d030820176a00302010202146fad9e2bf56fd5b69a3c0698e43003"
b"0546f1075a300a06082a8648ce3d0403023045310b300906035504061302"
b"555331173015060355040a130e41726475696e6f204c4c43205553310b30"
b"09060355040b130249543110300e0603550403130741726475696e6f3020"
b"170d3235303131303130353332325a180f32303535303130333130353332"
b"325a3045310b300906035504061302555331173015060355040a130e4172"
b"6475696e6f204c4c43205553310b3009060355040b130249543110300e06"
b"03550403130741726475696e6f3059301306072a8648ce3d020106082a86"
b"48ce3d03010703420004a1e1536c35521a330de82bac5b12c18f5037b33e"
b"649ba0ee270235c78d5a1045d0caf552ec97f29aff81c6e279973fd339c6"
b"d7a1cc6b618570f63bae621d71c8a3423040300f0603551d130101ff0405"
b"30030101ff300e0603551d0f0101ff040403020106301d0603551d0e0416"
b"041442652984d00488d1c603f409b378e33b1228e03e300a06082a8648ce"
b"3d0403020348003045022100cfa4cb60ff5e8953abfdc554ff5d73c06a1f"
b"7bf16835ee29d41973325ec6555002206f2d2f74dad966c839a515a412f6"
b"81f2ee23d5925b5b11fbecd73fecc58667a7"

)


Expand Down
4 changes: 2 additions & 2 deletions src/arduino_iot_cloud/ucloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ class InvalidStateError(Exception):
try:
from arduino_iot_cloud._version import __version__
except (ImportError, AttributeError):
__version__ = "1.3.3"
__version__ = "1.5.0"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
__version__ = "1.5.0"
__version__ = "1.4.1"

This will be release 1.4.1


# Server/port for basic auth.
_DEFAULT_SERVER = "iot.arduino.cc"

# Default port for cert based auth and basic auth.
_DEFAULT_PORT = (8883, 8884)
_DEFAULT_PORT = (8885, 8884)


class DoneException(Exception):
Expand Down
Loading