summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-11-24net: Release 0.28.0net/v0.28.0Neal H. Walfield
2023-11-24Update Cargo.lockNeal H. Walfield
2023-11-23net: Improve the errors returned from wkd::get.Justus Winter
- Notably, check the http status code.
2023-11-23net: Improve the errors returned from dane::get.Justus Winter
2023-11-23net: Improve enum Error, mark as non-exhaustive, fix terminology.Justus Winter
2023-11-22net: Map all DNS resolver errors to Error::NotFound with context.Justus Winter
- Fixes https://gitlab.com/sequoia-pgp/sequoia-sq/-/issues/88
2023-11-22net: Fix wkd::get to return a Vec<Result<Cert>>.Justus Winter
- We may not understand all of the certs, but that is no reason not to return them.
2023-11-22net: Add KeyServer::get example.Justus Winter
2023-11-22net: Fix KeyServer::{get,search}.Justus Winter
- Change both functions to return a vector of Result<Cert>. First, the keyserver may return more than one cert for both user ID searches as well as searches by key handle. Second, we may understand not all certs returned by the server, and that is okay, and we shouldn't let the whole query fail because of that. - Previously, the functions made an attempt at validating the results. However, that is flawed. First, in the case of retrieval by key handle, the test was brittle and easily circumvented by a key server. Second, the server may have good reason to return an additional cert, even if it doesn't have the key handle that the user asked for. For example, it may know that a cert is superseded and return the new one too, as a courtesy. draft-shaw-openpgp-hkp-00 doesn't forbid that. - In the case of search by email address, the server may know the association between the queried email address and the cert, even if said association is not recorded in the cert itself. - Remove the brittle checks, return all certs returned by the server, add a warning to the documentation of KeyServer::get.
2023-11-22net: Add examples for DANE.Justus Winter
2023-11-22net: Fix dane::get to return cert canonicalization errors.Justus Winter
- We may not understand all of the returned certs, and that is okay. Change the return type to reflect that. - Also, one resource record may only contain one cert. Adapt accordingly.
2023-11-22net: Make dane::get_raw private.Justus Winter
- This is likely an oversight in the original commit, as it wasn't mentioned in the commit message. We don't have such an interface for wkd or hkp either.
2023-11-16net: Re-export the reqwest crate.Justus Winter
- As we use types from reqwest in our API, re-export it as a courtesy for downstream consumers. This way, they can use the re-exported reqwest and be confident that they use the correct version.
2023-11-16net: Implement DANE record generation.Justus Winter
- Fixes #840.
2023-11-15net: Deduplicate code.Justus Winter
- This was duplicated by accident in bc1f27770002690f6117eaec59e8b11ca6196489.
2023-11-15openpgp: Implement downcasting of Key types aliasing with packets.Justus Winter
- Fixes #878.
2023-11-15openpgp: Add Key<P, R> conversion for mutable references.Justus Winter
- This is safe, as it is not possible to change the shape of the data through a mutable reference (e.g. it is not possible to take the secret key material away).
2023-11-15ipc: Track the offset of records in a Keybox file.Justus Winter
- Fixes #980.
2023-11-14sequoia-ipc uses openpgp::crypto::ecdh::decrypt_unwrap2 that was introduced ↵Alexander Kjäll
in version 1.17.0 of sequoia-openpgp
2023-11-14net: Upgrade from trust-dns-* to hickory-*.Justus Winter
- Fixes #1062.
2023-11-14openpgp: Improve tracing.Justus Winter
2023-11-14openpgp: Add new test.Justus Winter
- Tests that an inline-signed message using two different hash algorithms verifies correctly.
2023-11-14openpgp: Impl TryFrom<&Signature> for OnePassSig.Justus Winter
2023-11-03openpgp: Remove redundant call.Justus Winter
- This triggers a warning in rustc 1.73, and thus is an error for us.
2023-11-03doc: Fix typos.Justus Winter
2023-11-02ci: Use the rust-stable image for the rust-stable job.Justus Winter
- Fixes #1063.
2023-10-27ipc: Release 0.31.0ipc/v0.31.0Neal H. Walfield
2023-10-27ipc: Upgrade socket2Neal H. Walfield
2023-10-27ipc: Upgrade dirsNeal H. Walfield
2023-10-27ipc: Upgrade ctorNeal H. Walfield
2023-10-27ipc: Upgrade clapNeal H. Walfield
- Upgrade clap from clap 3 to clap 4. - Use the opportunity to change to clap's derive-style API.
2023-10-27ipc: Upgrade capnpNeal H. Walfield
2023-10-27Update Cargo.lock.Neal H. Walfield
2023-10-27ci: Don't run CI when updating mainNeal H. Walfield
- We've configured the gitlab project so that the only way to push to main is via a merge request for which CI has passed. As such, running (most) jobs when merging to main is a waste of resources, and we don't do it by default. - Fixes: #1061
2023-10-27ci: Remove outdated rule.Neal H. Walfield
- As of ea31e87029288bfe5897b1dd6a02cdc291946c9e, the all_commits job works for branches that are not derived from main. - Remove outdated rule.
2023-10-26openpgp: Release 1.17.0openpgp/v1.17.0Neal H. Walfield
2023-10-26openpgp: Depend on buffered-reader 1.3.0 or laterNeal H. Walfield
- `openpgp` uses features that are only present in version 1.3.0 of buffered reader. Adjust the dependency.
2023-10-26buffered-reader: Release 1.3.0buffered-reader/v1.3.0Neal H. Walfield
2023-10-26openpgp: Upgrade rpasswordNeal H. Walfield
2023-10-26openpgp: Upgrade lalrpopPeter Michael Green
- Fixes #1060.
2023-10-26openpgp: Upgrade idnaNeal H. Walfield
2023-10-26openpgp: Drop generic-array direct dependencyNeal H. Walfield
- Use `cipher`'s reexport of `generic-array` instead of directly depending on `generic-array` and having to worry about synchronizing the versions.
2023-10-26openpgp: Upgrade ed25519Neal H. Walfield
2023-10-26openpgp: Upgrade dsaNeal H. Walfield
2023-10-26openpgp: Upgrade criterion from 0.4 to 0.5Alexander Kjäll
2023-10-26openpgp: Tighten win-crypto-ng version rangeNeal H. Walfield
- Require version 0.5.1.
2023-10-26Update Cargo.lockNeal H. Walfield
2023-10-26doc: Update the release checklistNeal H. Walfield
2023-10-26ci: Add a job to authenticate the commitsNeal H. Walfield
- Add a job to authenticate the commits using sequoia-git.
2023-10-25Add a signing policy.Neal H. Walfield
- Add a commit signing policy.