From 9ec4be28087c129d057bc7fb58a3aa3085f118f7 Mon Sep 17 00:00:00 2001
From: Matt David <matt@netki.com>
Date: Fri, 2 Dec 2016 14:37:32 -0800
Subject: - Add CC-BY license for BIP75

---
 bip-0075.mediawiki | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'bip-0075.mediawiki')

diff --git a/bip-0075.mediawiki b/bip-0075.mediawiki
index 878d708..feddb6c 100644
--- a/bip-0075.mediawiki
+++ b/bip-0075.mediawiki
@@ -21,6 +21,12 @@ This BIP is an extension to BIP 70 that provides two enhancements to the existin
 The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and 
 "OPTIONAL" in this document are to be interpreted as described in RFC 2119.
 
+==Copyright==
+
+<img src="https://licensebuttons.net/l/by/3.0/88x31.png">
+
+This BIP is licensed under CC BY.
+
 ==Definitions==
 {| class="wikitable"
 | Sender    || Entity wishing to transfer value that they control
-- 
cgit v1.2.3


From b8c29597830995b9ac269c2c649efa1d4aafad99 Mon Sep 17 00:00:00 2001
From: Matt David <matt@netki.com>
Date: Wed, 14 Dec 2016 13:55:49 -0800
Subject: - Update CC-BY version to specify 4.0

---
 bip-0075.mediawiki | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'bip-0075.mediawiki')

diff --git a/bip-0075.mediawiki b/bip-0075.mediawiki
index feddb6c..55f8167 100644
--- a/bip-0075.mediawiki
+++ b/bip-0075.mediawiki
@@ -23,9 +23,9 @@ The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "S
 
 ==Copyright==
 
-<img src="https://licensebuttons.net/l/by/3.0/88x31.png">
+<img src="https://licensebuttons.net/l/by/4.0/88x31.png">
 
-This BIP is licensed under CC BY.
+This work is licensed under a [[http://creativecommons.org/licenses/by/4.0/|Creative Commons Attribution 4.0 International License]].
 
 ==Definitions==
 {| class="wikitable"
-- 
cgit v1.2.3


From f51459368752ca3b2db881b6cd76108393e4478b Mon Sep 17 00:00:00 2001
From: Matt David <matt@netki.com>
Date: Wed, 21 Dec 2016 15:28:43 -0800
Subject: - Change "CBC" to GCM. This was missed during the original change
 from CBC to GCM

---
 bip-0075.mediawiki | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'bip-0075.mediawiki')

diff --git a/bip-0075.mediawiki b/bip-0075.mediawiki
index 55f8167..85fc0d6 100644
--- a/bip-0075.mediawiki
+++ b/bip-0075.mediawiki
@@ -326,13 +326,13 @@ For the following we assume the Sender already knows the Receiver's public key,
 * If '''pki_type''' is x509+sha256 and '''signature''' is valid for the serialized [[#InvoiceRequest|InvoiceRequest]] where signature is set to "", [[#InvoiceRequest|InvoiceRequest]] is VALID
 
 ===Sending Encrypted Payment Protocol Messages using EncryptedProtocolMessages===
-* Encrypt the serialized Payment Protocol message using AES-256-CBC setup as described in [[#ECDH_Point_Generation_and_AES256_GCM_Mode_Setup|ECDH Point Generation and AES-256 (GCM Mode) Setup]]
+* Encrypt the serialized Payment Protocol message using AES-256-GCM setup as described in [[#ECDH_Point_Generation_and_AES256_GCM_Mode_Setup|ECDH Point Generation and AES-256 (GCM Mode) Setup]]
 * Create [[#EncryptedProtocolMessage|EncryptedProtocolMessage]] message
 * Set '''encrypted_message''' to be the encrypted value of the Payment Protocol message
 * '''version''' SHOULD be set to the highest version number the client understands (currently 1)
 * '''sender_public_key''' MUST be set to the public key of the Sender's EC keypair
 * '''receiver_public_key''' MUST be set to the public key of the Receiver's EC keypair
-* '''nonce''' MUST be set to the nonce used in the AES-256-CBC encryption operation
+* '''nonce''' MUST be set to the nonce used in the AES-256-GCM encryption operation
 * Set '''identifier''' to the identifier value received in the originating InvoiceRequest's ProtocolMessage or EncryptedProtocolMessage wrapper message
 * Set '''signature''' to ""
 * Sign the serialized [[#EncryptedProtocolMessage|EncryptedProtocolMessage]] message with the communicating party's EC public key
-- 
cgit v1.2.3


From 7d94bb685bd14cd8fb119af9c42f26b3eafa359a Mon Sep 17 00:00:00 2001
From: Luke Dashjr <luke-jr+git@utopios.org>
Date: Sun, 1 Jan 2017 12:29:10 +0000
Subject: BIP 75: Add License header

---
 bip-0075.mediawiki | 1 +
 1 file changed, 1 insertion(+)

(limited to 'bip-0075.mediawiki')

diff --git a/bip-0075.mediawiki b/bip-0075.mediawiki
index b8c76e7..2a6fdd5 100644
--- a/bip-0075.mediawiki
+++ b/bip-0075.mediawiki
@@ -11,6 +11,7 @@
   Status: Draft
   Type: Standards Track
   Created: 2015-11-20
+  License: CC-BY-4.0
 </pre>
 
 ==Abstract==
-- 
cgit v1.2.3

