Skip to content

Commit 90e64ec

Browse files
committed
Merge pull request #34 from mbrossard/master
Fix for trailing line-feed on signature (fixes #33)
2 parents e3d8956 + 145b7f2 commit 90e64ec

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
NAME = yum-plugin-s3-iam
2-
VERSION = 1.0
2+
VERSION = 1.0.1
33
RELEASE = 1
44
ARCH = noarch
55

s3iam.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,4 +259,4 @@ def sign(self, request, timeval=None):
259259
str(sigstring),
260260
hashlib.sha1).digest()
261261
signature = digest.encode('base64')
262-
return signature
262+
return signature.strip()

yum-plugin-s3-iam.spec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,8 @@ rm -rf ${RPM_BUILD_ROOT}
3737
/usr/lib/yum-plugins/s3iam.py*
3838

3939
%changelog
40+
* Mon Sep 21 2015 Mathias Brossard <mathias@brossard.org> 1.0.1-1
41+
Fix for trailing line-feed on signature
42+
4043
* Fri May 31 2013 Matt Jamison <matt@mattjamison.com> 1.0-1
4144
Initial packaging

0 commit comments

Comments
 (0)