This project is mirrored from https://github.com/weechat/scripts.git. Pull mirroring updated .
  1. 22 Oct, 2020 1 commit
  2. 18 Oct, 2020 1 commit
  3. 11 Oct, 2020 5 commits
  4. 17 Sep, 2020 1 commit
    • Brice Berna's avatar
      fish.py 0.9.6: fix bug in key exchange again · 9d4ae107
      Brice Berna authored
      Using s.encode() for hashing the DH key is not correct
      as the resulting bytearray is utf-8 encoded and shouldn't.
      The reuslting hash is then different from hashs produced by the
      previous versions of this plugin, and probably other fish plugins (tested
      with the original irssi one, and the key exchange didn't work either).
      While using s.encode("latin-1") works, it's better to remove the encode() call
      and rewrite int2bytes to actually return bytes (and not str). I used
      python 3 built-ins for that, and modified bytes2int accordingly.
      Fix bug in key exchange again
      
      Using s.encode() for hashing the DH key is not correct
      as the resulting bytearray is utf-8 encoded and shouldn't.
      The reuslting hash is then different from hashs produced by the
      previous versions of this plugin, and probably other fish plugins (tested
      with the original irssi one, and the key exchange didn't work either).
      While using s.encode("latin-1") works, it's better to remove the encode() call
      and rewrite int2bytes to actually return bytes (and not str). I used
      python 3 built-ins for that, and modified bytes2int accordingly. I also had
      to modify dh1080_b64encode to make it return bytes, as it should be in py3.
      9d4ae107
  5. 06 Sep, 2020 2 commits
  6. 15 Aug, 2020 1 commit
  7. 10 Aug, 2020 1 commit
  8. 22 Jul, 2020 1 commit
  9. 20 Jul, 2020 1 commit
  10. 09 Jul, 2020 1 commit
  11. 27 Jun, 2020 1 commit
  12. 21 Jun, 2020 14 commits
  13. 10 Jun, 2020 3 commits
  14. 06 Jun, 2020 1 commit
  15. 18 May, 2020 2 commits
  16. 17 May, 2020 1 commit
    • Dominique Martinet's avatar
      grep.py 0.8.3: more python3 compatibility fixes · e7c4b376
      Dominique Martinet authored
       - use pickle.dumps(s, 0) to force older ascii-compatible pickling protocol
      This prevents encoding/decoding to/from utf8 to mess the string up
       - cast zip() to a list, as zip does not have length
       - cast range() to list, as range cannot reverse()
       - open file in utf8 and ignore error just in case
       - use ascii_letters instead of letters (from hexa- in #372, credited)
       - took isinstance(.. basestring) fix as well while I was at it
      
      Fixes #404
      e7c4b376
  17. 16 May, 2020 1 commit
  18. 10 May, 2020 2 commits