Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Change Log
## [4.59.1](https://github.com/plivo/plivo-python/tree/v4.59.1) (2025-05-28)
- Fixed signature validation.

## [4.59.0](https://github.com/plivo/plivo-python/tree/v4.59.0) (2025-04-30)
**Feature - New Param added for Start Recording API.**
- Support `record_channel_type` in Start Recording API and `recordChannelType` in Record XML.
Expand Down
2 changes: 1 addition & 1 deletion plivo/utils/signature_v3.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,6 @@ def validate_v3_signature(method, uri, nonce, auth_token, v3_signature, params=N
auth_token = bytes(auth_token.encode('utf-8'))
nonce = bytes(nonce.encode('utf-8'))
v3_signature = bytes(v3_signature.encode('utf-8'))
base_url = construct_get_url(uri, params) if method == 'GET' else construct_post_url(uri, params)
base_url = construct_get_url(uri, params).decode('utf-8') if method == 'GET' else construct_post_url(uri, params).decode('utf-8')
signature = get_signature_v3(auth_token, base_url, nonce)
return signature in v3_signature.split(b',')
2 changes: 1 addition & 1 deletion plivo/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# -*- coding: utf-8 -*-
__version__ = '4.59.0'
__version__ = '4.59.1'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name='plivo',
version='4.59.0',
version='4.59.1',
description='A Python SDK to make voice calls & send SMS using Plivo and to generate Plivo XML',
long_description=long_description,
url='https://github.com/plivo/plivo-python',
Expand Down
Loading