Skip to content

Commit

Permalink
Fix: Update expiry to 30 days.
Browse files Browse the repository at this point in the history
  • Loading branch information
georgepadayatti committed Oct 22, 2024
1 parent 088ebeb commit e96429f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions sdjwt/sdjwt.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def create_w3c_vc_jwt(
credential_status: typing.Optional[dict] = None,
terms_of_use: typing.Optional[typing.Union[dict, typing.List[dict]]] = None,
) -> str:
expiry_in_seconds = 3600
expiry_in_seconds = 2592000
issuance_epoch, issuance_8601 = (
get_current_datetime_in_epoch_seconds_and_iso8601_format()
)
Expand Down Expand Up @@ -203,7 +203,7 @@ def create_w3c_vc_sd_jwt(
credential_status: typing.Optional[dict] = None,
terms_of_use: typing.Optional[typing.Union[dict, typing.List[dict]]] = None,
) -> str:
expiry_in_seconds = 3600
expiry_in_seconds = 2592000
issuance_epoch, issuance_8601 = (
get_current_datetime_in_epoch_seconds_and_iso8601_format()
)
Expand Down Expand Up @@ -272,7 +272,7 @@ def create_w3c_vc_sd_jwt_for_data_attributes(
terms_of_use: typing.Optional[typing.Union[dict, typing.List[dict]]] = None,
limited_disclosure: typing.Optional[bool] = None,
):
expiry_in_seconds = 3600
expiry_in_seconds = 2592000
issuance_epoch, issuance_8601 = (
get_current_datetime_in_epoch_seconds_and_iso8601_format()
)
Expand Down Expand Up @@ -434,7 +434,7 @@ def create_w3c_vc_jwt_with_disclosure_mapping(
terms_of_use: typing.Optional[typing.Union[dict, typing.List[dict]]] = None,
disclosure_mapping: typing.Optional[dict] = None,
) -> str:
expiry_in_seconds = 3600
expiry_in_seconds = 2592000
issuance_epoch, issuance_8601 = (
get_current_datetime_in_epoch_seconds_and_iso8601_format()
)
Expand Down Expand Up @@ -539,7 +539,7 @@ def create_w3c_vc_jwt_with_disclosure_mapping_v2(
terms_of_use: typing.Optional[typing.Union[dict, typing.List[dict]]] = None,
disclosure_mapping: typing.Optional[dict] = None,
) -> str:
expiry_in_seconds = 3600
expiry_in_seconds = 2592000
issuance_epoch, issuance_8601 = (
get_current_datetime_in_epoch_seconds_and_iso8601_format()
)
Expand Down

0 comments on commit e96429f

Please sign in to comment.