Skip to content

Commit 8a55508

Browse files
committed
CI: Update 3.14 from alpha1 to rc2
cffi 2.0 was published this week and broke support for some 3.14 alpha versions
1 parent 9061843 commit 8a55508

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
matrix:
1717
include:
18-
- python-version: "3.14.0-alpha.1"
18+
- python-version: "3.14.0-rc.1"
1919
with-opt-deps: true
2020
runs-on: ubuntu-22.04
2121

src/irclib.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1968,6 +1968,8 @@ def startSasl(self, msg):
19681968
self.tryNextSaslMechanism(msg)
19691969

19701970
def doAuthenticate(self, msg):
1971+
print("doAuthenticate")
1972+
log.critical("aaa")
19711973
self.state.fsm.expect_state([
19721974
IrcStateFsm.States.INIT_SASL,
19731975
IrcStateFsm.States.CONNECTED_SASL,
@@ -2015,21 +2017,33 @@ def doAuthenticate(self, msg):
20152017
self.sendSaslString(authstring)
20162018

20172019
def _doAuthenticateEcdsa(self, msg, string):
2020+
print("_doAuthenticateEcdsa", msg, string, self.sasl_ecdsa_key)
20182021
if string == b'':
2022+
print("empty")
20192023
self.sendSaslString(self.sasl_username.encode('utf-8'))
2024+
print("empty return")
20202025
return
2026+
print("not empty")
2027+
with open(self.sasl_ecdsa_key, 'rb') as fd:
2028+
print(fd.read())
20212029

20222030
try:
20232031
with open(self.sasl_ecdsa_key, 'rb') as fd:
20242032
private_key = crypto.load_pem_private_key(
20252033
fd.read(),password=None, backend=crypto.default_backend())
2034+
print("private_key", private_key)
20262035
authstring = private_key.sign(
20272036
string, crypto.ECDSA(crypto.Prehashed(crypto.SHA256())))
2037+
print("authstring", authstring)
20282038
self.sendSaslString(authstring)
2039+
print("sent")
20292040
except (OSError, ValueError):
2041+
print("exc")
20302042
self.sendMsg(ircmsgs.IrcMsg(command='AUTHENTICATE',
20312043
args=('*',)))
2044+
print("sent")
20322045
self.tryNextSaslMechanism(msg)
2046+
print("nexted")
20332047

20342048
def _doAuthenticateScramFirst(self, msg, mechanism):
20352049
"""Handle sending the client-first message of SCRAM auth."""

0 commit comments

Comments
 (0)