Skip to content

Commit 723fc14

Browse files
authored
Fixes #140 include sha512 data_integrity option for cp_mgmt_vpn_community_star (#141)
Ensure sha512 data integrity option is allowed for ike phase 1 and 2 when using custom encryption_suite
1 parent 67b2370 commit 723fc14

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plugins/modules/cp_mgmt_vpn_community_star.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
description:
154154
- The hash algorithm to be used.
155155
type: str
156-
choices: ['aes-xcbc', 'sha1', 'sha256', 'sha384', 'md5']
156+
choices: ['aes-xcbc', 'sha1', 'sha256', 'sha384', 'sha512', 'md5']
157157
diffie_hellman_group:
158158
description:
159159
- The Diffie-Hellman group to be used.
@@ -184,7 +184,7 @@
184184
description:
185185
- The hash algorithm to be used.
186186
type: str
187-
choices: ['aes-xcbc', 'sha1', 'sha256', 'sha384', 'md5']
187+
choices: ['aes-xcbc', 'sha1', 'sha256', 'sha384', 'sha512', 'md5']
188188
encryption_algorithm:
189189
description:
190190
- The encryption algorithm to be used.
@@ -400,7 +400,7 @@ def main():
400400
options=dict(
401401
data_integrity=dict(
402402
type="str",
403-
choices=["aes-xcbc", "sha1", "sha256", "sha384", "md5"],
403+
choices=["aes-xcbc", "sha1", "sha256", "sha384", "sha512", "md5"],
404404
),
405405
diffie_hellman_group=dict(
406406
type="str",
@@ -426,7 +426,7 @@ def main():
426426
options=dict(
427427
data_integrity=dict(
428428
type="str",
429-
choices=["aes-xcbc", "sha1", "sha256", "sha384", "md5"],
429+
choices=["aes-xcbc", "sha1", "sha256", "sha384", "sha512", "md5"],
430430
),
431431
encryption_algorithm=dict(
432432
type="str",

0 commit comments

Comments
 (0)