mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-05-08 06:13:03 +00:00
Support cryptography 3.3 (#882)
* Re-add Debian Bullseye to CI. * Support cryptography 3.3 as well.
This commit is contained in:
@@ -18,7 +18,8 @@ notes:
|
||||
another ACME server, please L(create an issue,https://github.com/ansible-collections/community.crypto/issues/new/choose)
|
||||
to help us supporting it. Feedback that an ACME server not mentioned does work is also appreciated.
|
||||
requirements:
|
||||
- either openssl or L(cryptography,https://cryptography.io/) >= 3.4
|
||||
- either C(openssl)
|
||||
- or L(cryptography,https://cryptography.io/) >= 3.3
|
||||
options:
|
||||
acme_version:
|
||||
description:
|
||||
|
||||
20
plugins/doc_fragments/cryptography_dep.py
Normal file
20
plugins/doc_fragments/cryptography_dep.py
Normal file
@@ -0,0 +1,20 @@
|
||||
# Copyright (c) 2025 Ansible project
|
||||
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
class ModuleDocFragment:
|
||||
"""
|
||||
Doc fragments for cryptography requirements.
|
||||
|
||||
Must be kept in sync with plugins/module_utils/cryptography_dep.py.
|
||||
"""
|
||||
|
||||
# Corresponds to the plugins.module_utils.cryptography_dep.COLLECTION_MINIMUM_CRYPTOGRAPHY_VERSION constant
|
||||
MINIMUM = r"""
|
||||
requirements:
|
||||
- cryptography >= 3.3
|
||||
options: {}
|
||||
"""
|
||||
@@ -22,7 +22,7 @@ attributes:
|
||||
- If relative timestamps are used and O(ignore_timestamps=false), the module is not idempotent.
|
||||
- The option O(force=true) generally disables idempotency.
|
||||
requirements:
|
||||
- cryptography >= 3.4 (if using V(selfsigned) or V(ownca) provider)
|
||||
- cryptography >= 3.3 (if using V(selfsigned) or V(ownca) provider)
|
||||
options:
|
||||
force:
|
||||
description:
|
||||
|
||||
@@ -18,7 +18,7 @@ attributes:
|
||||
idempotent:
|
||||
support: full
|
||||
requirements:
|
||||
- cryptography >= 3.4
|
||||
- cryptography >= 3.3
|
||||
options:
|
||||
digest:
|
||||
description:
|
||||
|
||||
@@ -22,7 +22,7 @@ attributes:
|
||||
details:
|
||||
- The option O(regenerate=always) generally disables idempotency.
|
||||
requirements:
|
||||
- cryptography >= 3.4
|
||||
- cryptography >= 3.3
|
||||
options:
|
||||
size:
|
||||
description:
|
||||
|
||||
@@ -10,7 +10,7 @@ class ModuleDocFragment:
|
||||
# Standard files documentation fragment
|
||||
DOCUMENTATION = r"""
|
||||
requirements:
|
||||
- cryptography >= 3.4
|
||||
- cryptography >= 3.3
|
||||
attributes:
|
||||
diff_mode:
|
||||
support: none
|
||||
|
||||
Reference in New Issue
Block a user