Pre -proposed this just fails right away (as no packages are in trusty at all)
python3 ./create.py
Traceback (most recent call last):
File "./create.py", line 1, in <module>
from pymacaroons import Macaroon, Verifier
ImportError: No module named 'pymacaroons'
Installing the new packages in trusty
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libsodium18 python3-libnacl
The following NEW packages will be installed:
libsodium18 python3-libnacl python3-pymacaroons
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 165 kB of archives.
After this operation, 628 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-proposed/universe libsodium18 amd64 1.0.8-5~ubuntu14.04.1 [145 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty-proposed/universe python3-libnacl all 1.4.5-0ubuntu1~ubuntu14.04.1 [9650 B]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty-proposed/universe python3-pymacaroons all 0.9.2-0ubuntu1~ubuntu14.04.1 [10.1 kB]
Fetched 165 kB in 0s (1023 kB/s)
Selecting previously unselected package libsodium18:amd64.
(Reading database ... 25069 files and directories currently installed.)
Preparing to unpack .../libsodium18_1.0.8-5~ubuntu14.04.1_amd64.deb ...
Unpacking libsodium18:amd64 (1.0.8-5~ubuntu14.04.1) ...
Selecting previously unselected package python3-libnacl.
Preparing to unpack .../python3-libnacl_1.4.5-0ubuntu1~ubuntu14.04.1_all.deb ...
Unpacking python3-libnacl (1.4.5-0ubuntu1~ubuntu14.04.1) ...
Selecting previously unselected package python3-pymacaroons.
Preparing to unpack .../python3-pymacaroons_0.9.2-0ubuntu1~ubuntu14.04.1_all.deb ...
Unpacking python3-pymacaroons (0.9.2-0ubuntu1~ubuntu14.04.1) ...
Setting up libsodium18:amd64 (1.0.8-5~ubuntu14.04.1) ...
Setting up python3-libnacl (1.4.5-0ubuntu1~ubuntu14.04.1) ...
Setting up python3-pymacaroons (0.9.2-0ubuntu1~ubuntu14.04.1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.14) ...
Using the test I attached to the bug:
python3 ./create.py
location cool-picture-service.example.com
identifier key-for-bob
cid picture_id = bobs_cool_cat.jpg
signature 83d8fa280b09938d3cffe045634f544ffaf712ff2c51ac34828ae8a42b277f8f
MDAyZWxvY2F0aW9uIGNvb2wtcGljdHVyZS1zZXJ2aWNlLmV4YW1wbGUuY29tCjAwMWJpZGVudGlmaWVyIGtleS1mb3ItYm9iCjAwMjdjaWQgcGljdHVyZV9pZCA9IGJvYnNfY29vbF9jYXQuanBnCjAwMmZzaWduYXR1cmUgg9j6KAsJk408_-BFY09UT_r3Ev8sUaw0goropCsnf48K
Sucessfully verified
This uses the full pymacaroons stack and works just fine.
Therefore setting verification done.
Pre -proposed this just fails right away (as no packages are in trusty at all)
python3 ./create.py
Traceback (most recent call last):
File "./create.py", line 1, in <module>
from pymacaroons import Macaroon, Verifier
ImportError: No module named 'pymacaroons'
Installing the new packages in trusty archive. ubuntu. com/ubuntu/ trusty- proposed/ universe libsodium18 amd64 1.0.8-5~ ubuntu14. 04.1 [145 kB] archive. ubuntu. com/ubuntu/ trusty- proposed/ universe python3-libnacl all 1.4.5-0ubuntu1~ ubuntu14. 04.1 [9650 B] archive. ubuntu. com/ubuntu/ trusty- proposed/ universe python3-pymacaroons all 0.9.2-0ubuntu1~ ubuntu14. 04.1 [10.1 kB] _1.0.8- 5~ubuntu14. 04.1_amd64. deb ... 5~ubuntu14. 04.1) ... libnacl_ 1.4.5-0ubuntu1~ ubuntu14. 04.1_all. deb ... 0ubuntu1~ ubuntu14. 04.1) ... pymacaroons. pymacaroons_ 0.9.2-0ubuntu1~ ubuntu14. 04.1_all. deb ... 0ubuntu1~ ubuntu14. 04.1) ... 5~ubuntu14. 04.1) ... 0ubuntu1~ ubuntu14. 04.1) ... 0ubuntu1~ ubuntu14. 04.1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libsodium18 python3-libnacl
The following NEW packages will be installed:
libsodium18 python3-libnacl python3-pymacaroons
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 165 kB of archives.
After this operation, 628 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://
Get:2 http://
Get:3 http://
Fetched 165 kB in 0s (1023 kB/s)
Selecting previously unselected package libsodium18:amd64.
(Reading database ... 25069 files and directories currently installed.)
Preparing to unpack .../libsodium18
Unpacking libsodium18:amd64 (1.0.8-
Selecting previously unselected package python3-libnacl.
Preparing to unpack .../python3-
Unpacking python3-libnacl (1.4.5-
Selecting previously unselected package python3-
Preparing to unpack .../python3-
Unpacking python3-pymacaroons (0.9.2-
Setting up libsodium18:amd64 (1.0.8-
Setting up python3-libnacl (1.4.5-
Setting up python3-pymacaroons (0.9.2-
Processing triggers for libc-bin (2.19-0ubuntu6.14) ...
Using the test I attached to the bug: service. example. com d3cffe045634f54 4ffaf712ff2c51a c34828ae8a42b27 7f8f uIGNvb2wtcGljdH VyZS1zZXJ2aWNlL mV4YW1wbGUuY29t CjAwMWJpZGVudGl maWVyIGtleS1mb3 ItYm9iCjAwMjdja WQgcGljdHVyZV9p ZCA9IGJvYnNfY29 vbF9jYXQuanBnCj AwMmZzaWduYXR1c mUgg9j6KAsJk408 _-BFY09UT_ r3Ev8sUaw0gorop Csnf48K
python3 ./create.py
location cool-picture-
identifier key-for-bob
cid picture_id = bobs_cool_cat.jpg
signature 83d8fa280b09938
MDAyZWxvY2F0aW9
Sucessfully verified
This uses the full pymacaroons stack and works just fine.
Therefore setting verification done.