438 Commits

Author SHA1 Message Date
Tony Arcieri
c2a8466861
signature_derive v2.1.0 (#1395) 2023-11-12 11:49:52 -07:00
Tony Arcieri
c85a5b815b
async-signature v0.4.0 (#1393) 2023-11-12 09:46:56 -07:00
Tony Arcieri
5b2f9cb266
Move async-signature and signature-derive to toplevel (#1391)
These crates were previously nested under `signature/async` and
`signature/derive`, which complicates tooling that expects crates to be
in toplevel directories, and as things currently stand also meant that
releases of the `signature` crate accidentally included stale copies of
the other two crates.

This commit moves them to toplevel `async-signature` and
`signature-derive` directories.
2023-11-12 08:29:16 -07:00
Tony Arcieri
c4cd5eb722
(async-)signature: MSRV 1.60 (#1387)
To simplify the workspace, which contains weak/namespaced features, this
bumps both `async-signature` and `signature` to MSRV 1.60.

So as for the bump to have some justification, it adds weak feature
activation for `rand_core?/std`, and uses this impl to write a
`From<rand_core::Error>` conversion which can preserve the original
error as the boxed source.
2023-11-12 07:09:39 -07:00
Tony Arcieri
8f77112b2c
universal-hash: bump crypto-common to v0.2.0-pre; MSRV 1.65 (#1385)
Replaces `generic-array` with `hybrid-array`, which is built on a
combination of `typenum` and const generics, providing a degree of
interoperability between the two systems.
2023-11-12 08:41:07 +03:00
Tony Arcieri
8b24dd9194
aead: bump crypto-common to v0.2.0-pre; MSRV 1.65 (#1384)
Replaces `generic-array` with `hybrid-array`, which is built on a
combination of `typenum` and const generics, providing a degree of
interoperability between the two systems.
2023-11-11 21:26:25 -07:00
Tony Arcieri
b6b591ef19
crypto-common: weakly activate rand_core/getrandom (#1381)
When both `getrandom` and `rand_core` are enabled, activates the
`rand_core/getrandom` feature, which makes `OsRng` available as
`crypto_common::rand_core::OsRng`.
2023-11-11 18:41:50 -07:00
Tony Arcieri
1d0810dbe9
Exclude pre-1.60 crates from workspace (#1380)
Pre-1.60 crates can't be used in workspaces with other crates that use
namespaced/weak features.

This commit places all MSRV 1.60+ crates into `members` and moves the
ones with earlier MSRVs into `exclude`.
2023-11-11 18:01:35 -07:00
Tony Arcieri
102d328e6e
cipher+digest: migrate to hybrid array; MSRV 1.65 (#1358)
Replaces `generic-array` with `hybrid-array`, which is built on a
combination of `typenum` and const generics, providing a degree of
interoperability between the two systems.

`hybrid-array` is designed to be a largely drop-in replacement, and the
number of changes required to switch are relatively minimal aside from
some idiosyncrasies.
2023-10-27 12:15:23 -06:00
Tony Arcieri
766c138c26
crypto-common: migrate to hybrid-array; MSRV 1.65 (#1319)
Replaces `generic-array` with `hybrid-array`, which is built on a
combination of `typenum` and const generics, providing a degree of
interoperability between the two systems.

`hybrid-array` is designed to be a largely drop-in replacement, and the
number of changes required to switch are relatively minimal aside from
some idiosyncrasies.
2023-10-26 11:19:15 -06:00
Артём Павлов [Artyom Pavlov]
fa5fde576b Downgrade byteorder and jobserver to work around CI failure 2023-10-22 09:20:28 +03:00
Артём Павлов [Artyom Pavlov]
2837040e22 Update Cargo.lock 2023-10-20 23:34:28 +03:00
Артём Павлов [Artyom Pavlov]
446f912b5e Update Cargo.lock 2023-09-27 01:14:56 +03:00
dependabot[bot]
94f57bb051
build(deps): bump aes-gcm from 0.10.2 to 0.10.3 (#1347)
Bumps [aes-gcm](https://github.com/RustCrypto/AEADs) from 0.10.2 to 0.10.3.
- [Commits](https://github.com/RustCrypto/AEADs/compare/aes-gcm-v0.10.2...aes-gcm-v0.10.3)

---
updated-dependencies:
- dependency-name: aes-gcm
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-22 10:33:35 -06:00
dependabot[bot]
eb8e409d81
build(deps): bump const-oid from 0.9.4 to 0.9.5 (#1337)
Bumps [const-oid](https://github.com/RustCrypto/formats) from 0.9.4 to 0.9.5.
- [Commits](https://github.com/RustCrypto/formats/compare/const-oid/v0.9.4...const-oid/v0.9.5)

---
updated-dependencies:
- dependency-name: const-oid
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-08 17:58:06 -06:00
dependabot[bot]
962dabad2c
build(deps): bump const-oid from 0.9.3 to 0.9.4 (#1333)
Bumps [const-oid](https://github.com/RustCrypto/formats) from 0.9.3 to 0.9.4.
- [Commits](https://github.com/RustCrypto/formats/compare/const-oid/v0.9.3...const-oid/v0.9.4)

---
updated-dependencies:
- dependency-name: const-oid
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 16:17:31 -06:00
dependabot[bot]
ac2e00dc5a
build(deps): bump const-oid from 0.9.2 to 0.9.3 (#1331)
Bumps [const-oid](https://github.com/RustCrypto/formats) from 0.9.2 to 0.9.3.
- [Commits](https://github.com/RustCrypto/formats/compare/const-oid/v0.9.2...const-oid/v0.9.3)

---
updated-dependencies:
- dependency-name: const-oid
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-29 16:42:15 -06:00
Артём Павлов [Artyom Pavlov]
edeaafad94 Update Cargo.lock 2023-06-26 16:18:48 +03:00
Tony Arcieri
1164e44383
elliptic-curve v0.13.5 (#1313) 2023-05-19 11:00:51 -06:00
Tony Arcieri
86e7b14914
universal-hash v0.5.1 (#1312) 2023-05-19 09:25:53 -06:00
Tony Arcieri
7d5523165e
crypto: bump elliptic-curve to v0.13; MSRV 1.65 (#1302) 2023-04-17 20:26:30 -06:00
Tony Arcieri
6560211c7d
elliptic-curve: fix/test alloc+arithmetic features w/o sec1 (#1301)
The combination of `alloc`+`arithmetic` would previously cause compile
errors because some `sec1`-related code was not properly gated.

This fixes the feature gating.
2023-04-17 20:12:17 -06:00
Tony Arcieri
3ac426bf04
signature_derive: bump syn to v2 (#1299) 2023-04-17 11:31:29 -06:00
dependabot[bot]
25e2e1102e
build(deps): bump spin from 0.9.7 to 0.9.8 (#1290)
Bumps [spin](https://github.com/mvdnes/spin-rs) from 0.9.7 to 0.9.8.
- [Release notes](https://github.com/mvdnes/spin-rs/releases)
- [Changelog](https://github.com/mvdnes/spin-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mvdnes/spin-rs/commits)

---
updated-dependencies:
- dependency-name: spin
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-03 20:04:07 -06:00
Tony Arcieri
35d94f05ad
aead v0.5.2 (#1285) 2023-04-02 09:43:13 -06:00
Артём Павлов [Artyom Pavlov]
425c68cb1e Update Cargo.lock 2023-04-02 05:17:24 +03:00
Tony Arcieri
1ffc7d9125
signature v2.1.0 (#1284) 2023-04-01 20:00:05 -06:00
dependabot[bot]
3d4a2ba3b6
build(deps): bump zeroize from 1.5.7 to 1.6.0 (#1280)
Bumps [zeroize](https://github.com/RustCrypto/utils) from 1.5.7 to 1.6.0.
- [Release notes](https://github.com/RustCrypto/utils/releases)
- [Commits](https://github.com/RustCrypto/utils/compare/zeroize-v1.5.7...zeroize-v1.6.0)

---
updated-dependencies:
- dependency-name: zeroize
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-27 17:16:58 -06:00
Artyom Pavlov
0af93f6076
cipher: release v0.4.4 (#1278) 2023-03-09 00:10:59 +00:00
Tony Arcieri
5691d07250
password-hash v0.5.0 (#1271) 2023-03-04 16:22:05 -07:00
Tony Arcieri
2975bae5d7
password-hash v0.5.0-rc.0 (#1269) 2023-03-04 13:13:48 -07:00
dependabot[bot]
b792cc7fe9
build(deps): bump const-oid from 0.9.1 to 0.9.2 (#1250)
Bumps [const-oid](https://github.com/RustCrypto/formats) from 0.9.1 to 0.9.2.
- [Release notes](https://github.com/RustCrypto/formats/releases)
- [Commits](https://github.com/RustCrypto/formats/compare/const-oid/v0.9.1...const-oid/v0.9.2)

---
updated-dependencies:
- dependency-name: const-oid
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 09:24:28 -07:00
Tony Arcieri
9da51bafb0
password-hash v0.5.0-pre.1 (#1249) 2023-02-27 11:15:11 -07:00
Tony Arcieri
25a6b2b49d
password-hash: bump base64ct to 1.6; MSRV 1.60 (#1248) 2023-02-27 10:44:00 -07:00
dependabot[bot]
cd2ecd3bff
build(deps): bump bytes from 1.3.0 to 1.4.0 (#1234)
Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/tokio-rs/bytes/releases)
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.3.0...v1.4.0)

---
updated-dependencies:
- dependency-name: bytes
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 09:45:25 -07:00
Anton Lazarev
942902f0eb
add support for arrayvec in aead (#1219) 2023-01-27 11:54:59 -07:00
Tony Arcieri
e791364e07
async-signature v0.3.0 (#1212) 2023-01-15 12:20:01 -07:00
Tony Arcieri
115d2316ff
signature v2.0.0 (#1211) 2023-01-15 11:59:37 -07:00
Tony Arcieri
8041325e94
elliptic-curve: bump crypto-bigint to v0.5.0-pre.1; MSRV 1.61 (#1190)
This also moves `elliptic-curve` out of the toplevel workspace since
`crypto-bigint` now uses namespaced features, which are incompatible
with older crates.
2023-01-13 17:06:58 -07:00
Tony Arcieri
da3fb4cc69
password-hash v0.5.0-pre.0 (#1188) 2023-01-08 19:13:20 -07:00
Tony Arcieri
18871f760e
password-hash: use Salt type with PasswordHasher (#1187)
Previously `PasswordHash::hash_password` and `PasswordHash::generate`
took `&str` for `Salt`, however this is a bit of a confusing API because
the first thing it does is attempt to convert to a `Salt` which upholds
several invariants including "B64" encoding.

This change makes the `Salt` parameter explicit so it's clear what type
is responsible for checking those invariants.
2023-01-08 18:57:37 -07:00
Tony Arcieri
1d04c33c82
signature v2.0.0-rc.1 (#1185) 2023-01-07 15:12:48 -07:00
Tony Arcieri
4fca56364d
signature v2.0.0-rc.0 (#1181) 2023-01-04 13:04:40 -07:00
Artyom Pavlov
9bf4bf8656
digest v0.11.0-pre (#1173) 2022-12-19 18:06:31 +00:00
Artyom Pavlov
cf9a83cefe
crypto-common: add BlockSizes trait, bump MSRV to 1.56 (#1172) 2022-12-19 17:11:17 +00:00
Tony Arcieri
dff18e2311
signature v2.0.0-pre.3 (#1169) 2022-12-10 16:35:11 -07:00
Tony Arcieri
28ec035531
elliptic-curve: bump ff and group to v0.13 (#1166) 2022-12-08 21:10:22 -07:00
Tony Arcieri
bd7a8ac54d
Bump elliptic-curve to v0.13.0-pre (#1164)
Breaking changes were introduced in #1024, so this bumps the crate
version to v0.13.0-pre to note that happened.

Note that there is no crate release associated with this version. When a
crate release occurs, it will be bumped to `-pre.0`.
2022-12-08 20:32:36 -07:00
dependabot[bot]
9abd5784cc
build(deps): bump der from 0.6.0 to 0.6.1 (#1161)
Bumps [der](https://github.com/RustCrypto/formats) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/RustCrypto/formats/releases)
- [Commits](https://github.com/RustCrypto/formats/compare/der/v0.6.0...der/v0.6.1)

---
updated-dependencies:
- dependency-name: der
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 15:07:34 -07:00
Артём Павлов [Artyom Pavlov]
151d7d57e8 Update Cargo.lock 2022-12-06 08:57:00 +03:00