Merge lp:~lutostag/gomaasapi/fix_nonce_generation into lp:gomaasapi
Proposed by
Greg Lutostanski
Status: | Merged |
---|---|
Merged at revision: | 53 |
Proposed branch: | lp:~lutostag/gomaasapi/fix_nonce_generation |
Merge into: | lp:gomaasapi |
Diff against target: |
30 lines (+4/-5) 1 file modified
oauth.go (+4/-5) |
To merge this branch: | bzr merge lp:~lutostag/gomaasapi/fix_nonce_generation |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ian Booth | Approve | ||
Review via email: mp+231638@code.launchpad.net |
Commit message
Use a much larger random for the nonce to prevent collisions. This uses a naive 16 byte random -> String rather than a real uuidgen because I didn't want to add the dep to another package.
Description of the change
Use a much larger random for the nonce to prevent collisions. This uses a naive 16 byte random -> String rather than a real uuidgen because I didn't want to add the dep to another package.
To post a comment you must log in.