Open skaht opened 6 years ago
Was hoping for some feedback by now. Not sure what the extra stretch prefix/post decorations mean after upgrading to Python version 3.7.0 from 3.6.0_1. The answers to the two examples below should be the same.
% stretch -f sha512 -r 2048 "bunker wreck real edge inflict aerobic buddy mercy divorce wolf bright immune fat foot poet section sustain reveal unique reflect have latin problem chapter" mnemonic123
b'sHlDsrlJft4ZhwzzrVhVC+sViO7+EIcyzNW8SSlpo7XL4MfupzuQo/Ew5GXHveyxhRdE45TyBVk7Nlzm7hL0WA=='
% echo "bunker wreck real edge inflict aerobic buddy mercy divorce wolf bright immune fat foot poet section sustain reveal unique reflect have latin problem chapter" | bx mnemonic-to-seed -p 123 | bx base16-decode | bx base64-encode
sHlDsrlJft4ZhwzzrVhVC+sViO7+EIcyzNW8SSlpo7XL4MfupzuQo/Ew5GXHveyxhRdE45TyBVk7Nlzm7hL0WA==
Updated to new Python 3.7.0 package from 3.6.0 that seemed to work fine on OSX 10.13.5.
% brew info python3
After the hack supplied below and explicitly
% stretch foo bar
% vi +67 /Users/Scott/usr2/local/lib/python3.7/site-packages/stretch/stretch.py
print(result)
% pip3 install passlib
% pip3 list
Notice the extra decorations around the base64 content.
% stretch foo bar