Commit 0894218
Add ssl_password support to async Redis client (#3878)
* Add ssl_password support to async Redis client (#3347)
Add ssl_password parameter to the async Redis client and SSLConnection
to enable using encrypted private keys, matching the sync client's
functionality.
Changes:
- Add ssl_password parameter to Redis.__init__
- Add ssl_password parameter to SSLConnection.__init__
- Add password parameter to RedisSSLContext
- Pass password to ssl.SSLContext.load_cert_chain()
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
* Add test for ssl_password parameter
Add test_ssl_password_parameter test to verify ssl_password is properly
passed through to SSLConnection for encrypted private key support.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
---------
Co-authored-by: Claude <[email protected]>
Co-authored-by: petyaslavova <[email protected]>1 parent 201c3c9 commit 0894218
File tree
3 files changed
+39
-2
lines changed- redis/asyncio
- tests/test_asyncio
3 files changed
+39
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
| 250 | + | |
250 | 251 | | |
251 | 252 | | |
252 | 253 | | |
| |||
359 | 360 | | |
360 | 361 | | |
361 | 362 | | |
| 363 | + | |
362 | 364 | | |
363 | 365 | | |
364 | 366 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
817 | 817 | | |
818 | 818 | | |
819 | 819 | | |
| 820 | + | |
820 | 821 | | |
821 | 822 | | |
822 | 823 | | |
| |||
834 | 835 | | |
835 | 836 | | |
836 | 837 | | |
| 838 | + | |
837 | 839 | | |
838 | 840 | | |
839 | 841 | | |
| |||
893 | 895 | | |
894 | 896 | | |
895 | 897 | | |
| 898 | + | |
896 | 899 | | |
897 | 900 | | |
898 | 901 | | |
| |||
908 | 911 | | |
909 | 912 | | |
910 | 913 | | |
| 914 | + | |
911 | 915 | | |
912 | 916 | | |
913 | 917 | | |
| |||
938 | 942 | | |
939 | 943 | | |
940 | 944 | | |
| 945 | + | |
941 | 946 | | |
942 | 947 | | |
943 | 948 | | |
| |||
951 | 956 | | |
952 | 957 | | |
953 | 958 | | |
954 | | - | |
955 | | - | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
956 | 965 | | |
957 | 966 | | |
958 | 967 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
0 commit comments