Commit Graph

24 Commits

Author SHA1 Message Date
Steven Fackler
842eacefc8 fix ci 2023-02-25 10:10:04 -05:00
Steven Fackler
10bf27128d fix build 2023-01-09 20:41:16 -05:00
Steven Fackler
7faeea5acc Fix clippy/deprecation warnings 2022-11-21 15:19:11 -08:00
Steven Fackler
8ead6e6c69 Update hash crates 2021-12-08 18:30:44 -05:00
Steven Fackler
4e8b9078a1 fix build 2021-04-29 17:07:24 -04:00
Jeff Davis
e4e48a06b7 Add password module for hashing on the client side.
Hashing a password on the client side is useful so that you can set a
user's password without ever sending it in plain text to the
server. This avoids leaking passwords in the log or elsewhere.
2021-01-12 14:39:10 -08:00
Nikhil Benesch
7537e8a918 postgres-protocol: use RustCrypto md-5 crate
Swap the md5 crate for the md-5 crate.  Despite the latter's somewhat
more suspicious name, it is part of the wider RustCrypto ecosystem, and
shares code with the sha2 crate that postgres-protocol already uses.
2021-01-08 13:35:45 -05:00
Steven Fackler
07aa69febf update rand 2020-12-21 10:05:20 -05:00
Steven Fackler
d1f9d6d802 fix clippy 2020-10-15 21:14:13 -04:00
Steven Fackler
a12efc41d7 rustfmt 2020-06-10 16:46:55 -07:00
Steven Fackler
58a7856646 Update hmac and sha2 2020-06-10 16:45:58 -07:00
Steven Fackler
75a67fd06b Remove unneeded generic-array dependency 2019-12-23 16:12:28 -08:00
Steven Fackler
0de50abc29 Rustfmt 2019-03-04 21:55:37 -08:00
Steven Fackler
04ce4bb7a1 Run clippy 2018-12-09 21:44:07 -08:00
Steven Fackler
6a5f22cd5d Migrate postgres-protocol to 2018 edition 2018-12-08 17:24:38 -08:00
Steven Fackler
a2cac0ef61 Remove tls-unique from blocking postgres crate 2018-11-28 20:42:53 -08:00
Steven Fackler
a4bdcb11e4 Overhaul error type 2018-08-15 10:27:34 -07:00
Steven Fackler
11ffcac087 Support SCRAM channel binding for Postgres 11 2018-06-01 23:07:33 -07:00
Steven Fackler
ec7db287e1 Upgrade dependencies 2018-04-15 13:59:48 -07:00
Chris West (Faux)
bcc0996f04 Hmac::new() is infalliable 2018-01-15 18:54:43 +00:00
Chris West (Faux)
91090ef3e3 Upgrade hmac, sha2 and generic_array 2018-01-14 14:48:02 +00:00
Steven Fackler
6a86f8dd85 Rustfmt 2017-06-30 17:35:17 -10:00
Steven Fackler
f892c4b57b try! -> ? 2017-05-22 21:55:51 -07:00
Steven Fackler
8fc5ba218b SCRAM-SHA-256 protocol support 2017-05-21 22:20:57 -07:00