[sign] Approval: a deploy approval may expire up to 25 hours ahead (was an hour), so a release's day-long card can still be signed; v0.17.1
This commit is contained in:
@@ -700,7 +700,7 @@ impl Vault {
|
||||
}
|
||||
|
||||
/// [`Vault::signing_check`] at `now` (Unix milliseconds): an approval must not have expired then, and must
|
||||
/// expire at most an hour later.
|
||||
/// expire at most 25 hours later (`custos_sign::APPROVAL_MAX_AHEAD`).
|
||||
pub fn signing_check_at(&self, req: &Request, now: i64) -> Result<KeyView, Refusal> {
|
||||
self.check(req, now).map(|(view, _)| view)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user