Skip to content

CryptographyDeprecationWarning in anc.py #109

@jkaniuka

Description

@jkaniuka

While executing takyctl setup command, I've encountered the following warnings:

/home/taky/taky/util/anc.py:331: CryptographyDeprecationWarning: Properties that return a naïve datetime object have been deprecated. Please switch to not_valid_before_utc.
  "issued": cert.not_valid_before,
/home/taky/taky/util/anc.py:332: CryptographyDeprecationWarning: Properties that return a naïve datetime object have been deprecated. Please switch to not_valid_after_utc.
  "expires": cert.not_valid_after,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions