forked from firstdata/marketplace-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathauth.sh
24 lines (18 loc) · 12.4 KB
/
auth.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
USERNAME="XXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
SECRET="XXXXXXXXXXXXXXXXXXXXXXXXXXXX"
URL="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
DATE=`date -u -R`
STRING_TO_SIGN='date: '$DATE
ENCODED_SIGNATURE=$(echo -n $STRING_TO_SIGN | openssl sha1 -binary -hmac $SECRET | base64)
HMAC_AUTH='hmac username="'$USERNAME'",algorithm="hmac-sha1",headers="date",signature="'$ENCODED_SIGNATURE'"'
# GET Example
#curl -X GET -H "date: $DATE" -H "Authorization: $HMAC_AUTH" $ENDPOINT
#POST EXAMPLE
ENDPOINT="$URL/marketplace/v1/application/submit"
curl -X POST -H "date: $DATE" -H "Authorization: $HMAC_AUTH" -H "Content-Type:application/json" --data '{
"MPAMerchantSignaturePrincipal": "iVBORw0KGgoAAAANSUhEUgAAAioAAACWCAYAAADwp6OUAAAILElEQVR4Xu3bvW0UahQE0OsWIIUqkCiCDmgAIjKIgRgyImiADigCiSoghRrQSkZCCJm1/MPcnbMJid96vjM3GFl6Z+NDgAABAgQIEAgVOAvNJRYBAgQIECBAYAwVR0CAAAECBAjEChgqsdUIRoAAAQIECBgqboAAAQIECBCIFTBUYqsRjAABAgQIEDBU3AABAgQIECAQK2CoxFYjGAECBAgQIGCouAECBAgQIEAgVsBQia1GMAIECBAgQMBQcQMECBAgQIBArIChEluNYAQIECBAgICh4gYIECBAgACBWAFDJbYawQgQIECAAAFDxQ0QIECAAAECsQKGSmw1ghEgQIAAAQKGihsgQIAAAQIEYgUMldhqBCNAgAABAgQMFTdAgAABAgQIxAoYKrHVCEaAAAECBAgYKm6AAAECBAgQiBUwVGKrEYwAAQIECBAwVNwAAQIECBAgECtgq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y9pCRAgQIBAlYChUlW3xxIgQIAAgV0ChsquvqQlQIAAAQJVAoZKVd0eS4AAAQIEdgkYKrv6kpYAAQIECFQJGCpVdXssAQIECBDYJWCo7OpLWgIECBAgUCVgqFTV7bEECBAgQGCXwE9EJBOXzefEygAAAABJRU5ErkJggg==",
"orderId": 13931,
"PersonalGuaranteeSignaturePrincipal": "iVBORw0KGgoAAAANSUhEUgAAAioAAACWCAYAAADwp6OUAAAOSElEQVR4Xu3djbHsNhkGYKcCoAKgAqACoAKggkAFkAoIFUAqADqACoAKgAqACoAKwrx3rgZj9ufzrteS149nzpwkV7uSHinr98qy95PJQYAAAQIECBAYVOCTQdulWQQIECBAgACBSVAxCQgQIECAAIFhBQSVYYdGwwgQIECAAAFBxRwgQIAAAQIEhhUQVIYdGg0jQIAAAQIEBBVzgAABAgQIEBhWQFAZdmg0jAABAgQIEBBUzAECBAgQIEBgWAFBZdih0TACBAgQIEBAUDEHCBAgQIAAgWEFBJVhh0bDCBAgQIAAAUHFHCBAgAABAgSGFRBUhh0aDSNAgAABAgQEFXOAAAECBAgQGFZAUBl2aDSMAAECBAgQEFTMAQIECBAgQGBYAUFl2KHRMAIECBAgQEBQMQcIECBAgACBYQUElWGHRsMIECBAgAABQcUcIECAAAECBIYVEFSGHRoNI0CAAAECBAQVc4AAAQIECBAYVkBQGXZoNIwAAQIECBAQVMwBAgQIECBAYFgBQWXYodEwAgQIECBAQFAxBwgQIECAAIFhBQSVYYdGwwgQIECAAAFBxRwgQIAAAQIEhhUQVIYdGg0jQIAAAQIEBBVzgAABAgQIEBhWQFAZdmg0jAABAgQIEBBUzAECBAgQIEBgWAFBZdih0TACBAgQIEBAUDEHCBAgQIAAgWEFBJVhh0bDCBAgQIAAAUHFHCBAgAABAgSGFRBUhh0aDSNAgAABAgQEFXOAAAECBAgQGFZAUBl2aDSMAAECBAgQEFTMAQIECBAgQGBYAUFl2KHRMAIECBAgQEBQMQcIECBAgACBYQUElWGHRsMIECBAgAABQcUcIECAA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j7taCRAgQIAAgYKAoFJAUoQAAQIECBDoIyCo9HFXKwECBAgQIFAQEFQKSIoQIECAAAECfQQElT7uaiVAgAABAgQKAoJKAUkRAgQIECBAoI+AoNLHXa0ECBAgQIBAQUBQKSApQoAAAQIECPQREFT6uKuVAAECBAgQKAgIKgUkRQgQIECAAIE+AoJKH3e1EiBAgAABAgUBQaWApAgBAgQIECDQR0BQ6eOuVgIECBAgQKAgIKgUkBQhQIAAAQIE+ggIKn3c1UqAAAECBAgUBASVApIiBAgQIECAQB8BQaWPu1oJECBAgACBgoCgUkBShAABAgQIEOgjIKj0cVcrAQIECBAgUBAQVApIihAgQIAAAQJ9BASVPu5qJUCAAAECBAoCgkoBSRECBAgQIECgj4Cg0sddrQQIECBAgEBBQFApIClCgAABAgQI9BEQVPq4q5UAAQIECBAoCAgqBSRFCBAgQIAAgT4Cgkofd7USIECAAAECBQFBpYCkCAECBAgQINBHQFDp465WAgQIECBAoCAgqBSQFCFAgAABAgT6CAgqfdzVSoAAAQIECBQEBJUCkiIECBAgQIBAHwFBpY+7WgkQIECAAIGCgKBSQFKEAAECBAgQ6CMgqPRxVysBAgQIECBQEBBUCkiKECBAgAABAn0EBJU+7molQIAAAQIECgKCSgFJEQIECBAgQKCPgKDSx12tBAgQIECAQEFAUCkgKUKAAAECBAj0EfgPvjZyphqo0nUAAAAASUVORK5CYII=",
"ConfirmationPageSignature": "iVBORw0KGgoAAAANSUhEUgAAAioAAACWCAYAAADwp6OUAAAL00lEQVR4Xu3dgbEUxRYG4EMESARqBEAESASaARCBEIESARCBGoEagRoBGoEagRAB1qnarVrX5d6zu7Nne2a+qaKo96p3u/s7/Yr/9c703AkXAQIECBAgQGBQgTuDjsuwCBAgQIAAAQIhqFgEBAgQIECAwLACgsqwpTEwAgQIECBAQFCxBggQIECAAIFhBQSVYUtjYAQIECBAgICgYg0QIECAAAECwwoIKsOWxsAIECBAgAABQcUaIECAAAECBIYVEFSGLY2BESBAgAABAoKKNUCAAAECBAgMKyCo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