Skip to content

Conversation

@jrconlin
Copy link
Member

@jrconlin jrconlin commented Mar 8, 2017

There were several raw print statements that needed fixing. Also:
--json will now dump the headers as a JSON blob. This should make
importing the data into other functions a bit easier.

closes #29, #30

@jrconlin jrconlin force-pushed the feat/3.4 branch 5 times, most recently from 4442e98 to 507952d Compare March 16, 2017 16:48
@jrconlin jrconlin requested review from gauntface and pjenvey March 16, 2017 16:53
T_PUBLIC_RAW = (
"BBCcCWavxjfIyW6NRhqclO9IZj9oW1gFKUBSgwcigfNc"
"pXSfRk5JQTOcahMLjzO1bkHMoiw4b6L7YTyF8foLEEU"
).strip('=')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can kill the .strip now

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was planning on keeping it. It just turned out that key generation didn't include padding, but we want to make sure it isn't included in any future keys.

# Easy VAPID generation

This minimal library contains the minimal set of functions you need to
generate a VAPID key set and get the headers you'll need to sign a
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you're moving the .md -> .rst but forgot to delete the .md?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keeping it as well. There are a lot of apps that like .md more than .rst, and it's a simple script to convert. (In fact, it's part of my publish script pandoc --from=markdown --to=rst --output README.rst README.md ) I'm ok with dropping the .rst from the repo, but since it's part of the python packaging, I'd rather keep it.

There were several raw print statements that needed fixing. Also:
`--json` will now dump the headers as a JSON blob. This should make
importing the data into other functions a bit easier.

closes #29, #30
@jrconlin jrconlin merged commit 5704e0f into master Mar 16, 2017
@jrconlin jrconlin deleted the feat/3.4 branch March 22, 2017 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Python3 support

3 participants