Skip to content

Metadata API: rethink the expiry related API #1727

@MVrachev

Description

@MVrachev

Description of issue or feature request:

In a recent discussion (see discussion in #1722) we reevaluated the need for Singed.bump_expiry() as instead of using the API:

delta = relativedelta(years=1)
timestamp.signed.bump_expiration(delta)

one can just do:

timestamp.signed.expires += relativedelta(years=1)

As a side benefit this will allow the user to use dateutil.relativedelta which is not supported by Singed.bump_expiry as of #1726.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions