Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301, USA.
+mit-scheme-pucked-blowfish 0.2.1 - Matt Birkholz, 2017-03-18
+============================================================
+
+* Changed *everything* except perhaps compute-blowfish-init-vector;
+ you weren't supposed to care whether the init vector was a string or
+ soemthing else, like a bytevector. Every procedure that previously
+ accepted/returned strings now requires/produces bytevectors. If it
+ accepted/returned generic ports it now requires/produces binary
+ ports. If you are using the md5 plugin to produce a digest for
+ blowfish-set-key, you're winning, with blowfish-set-key at least;
+ the md5 plugin produces bytevectors instead of strings.
+
mit-scheme-pucked-blowfish 0.1.1 - Matt Birkholz, 2017-03-01
============================================================
(lambda (output)
(blowfish-encrypt-port (open-input-bytevector sample)
output
- "secret"
+ (string->utf8 "secret")
(write-blowfish-file-header output)
#t)))
(let ((read-back
(lambda (input)
(call-with-output-bytevector
(lambda (output)
- (blowfish-encrypt-port input output "secret"
+ (blowfish-encrypt-port input output (string->utf8 "secret")
(read-blowfish-file-header input)
#f)))))))
(if (not (bytevector=? sample read-back))
\f
(C-include "blowfish")
-(define (blowfish-set-key string)
- ;; Generate a Blowfish key from STRING.
- ;; STRING must be 72 bytes or less in length.
+(define (blowfish-set-key bytes)
+ ;; Generate a Blowfish key from BYTES.
+ ;; BYTES must be a bytevector 72 bytes or less in length.
;; For text-string keys, use MD5 on the text, and pass the digest here.
- (guarantee string? string 'blowfish-set-key)
- (let* ((data (string->utf8 string))
- (len (bytevector-length data)))
+ (guarantee bytevector? bytes 'blowfish-set-key)
+ (let ((len (bytevector-length bytes)))
(if (> len 72)
- (error:bad-range-argument
- string "a string encodable in UTF8 with fewer than 72 bytes"
- 'blowfish-set-key))
+ (error:bad-range-argument bytes "72 or fewer bytes" 'blowfish-set-key))
(let ((key (make-bytevector (C-sizeof "BF_KEY"))))
- (C-call "BF_set_key" key len data)
+ (C-call "BF_set_key" key len bytes)
key)))
(define (blowfish-ecb input output key encrypt?)
AC_PREREQ([2.69])
AC_INIT([MIT/GNU Scheme Pucked blowfish plugin],
- [0.1.1],
+ [0.2.1],
[matt@birchwood-abbey.net],
[mit-scheme-pucked-blowfish])
AC_CONFIG_SRCDIR([blowfish.pkg])
+mit-scheme-pucked-blowfish (0.2.1-1) experimental; urgency=low
+
+ * New upstream; now using bytevectors. Patched so that even
+ blowfish-set-key requires a bytevector (a digest from the md5
+ plugin).
+
+ -- Matt Birkholz <matt@birchwood-abbey.net> Sat, 18 Mar 2017 00:00:00 -0700
+
mit-scheme-pucked-blowfish (0.1.1-1) experimental; urgency=low
* Stolen from MIT/GNU Scheme.
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301, USA.
+mit-scheme-pucked-gdbm 0.2.1 - Matt Birkholz, 2017-03-18
+========================================================
+
+* New upstream converts Unicode strings (keys and data) to UTF8
+ bytevectors. This assumes any other program adding keys or data is
+ using the same encoding.
+
mit-scheme-pucked-gdbm 0.1.1 - Matt Birkholz, 2017-03-01
========================================================
AC_PREREQ([2.69])
AC_INIT([MIT/GNU Scheme Pucked gdbm plugin],
- [0.1.1],
+ [0.2.1],
[matt@birchwood-abbey.net],
[mit-scheme-pucked-gdbm])
AC_CONFIG_SRCDIR([gdbm.pkg])
+mit-scheme-pucked-gdbm (0.2.1-1) experimental; urgency=low
+
+ * New upstream; now using utf8 encoding.
+
+ -- Matt Birkholz <matt@birchwood-abbey.net> Sat, 18 Mar 2017 00:00:00 -0700
+
mit-scheme-pucked-gdbm (0.1.1-1) experimental; urgency=low
* Stolen from MIT/GNU Scheme.
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301, USA.
+mit-scheme-pucked-mcrypt 0.2.1 - Matt Birkholz, 2017-03-18
+==========================================================
+
+New upstream with significant changes per the move to Unicode strings.
+
+* mcrypt-init: The key and init vector must be byte vectors of the
+ appropriate length (per mcrypt-supported-key-sizes and
+ mcrypt-init-vector-size respectively).
+
+* mcrypt-encrypt: The input and output strings must now be
+ bytevectors.
+
+* mcrypt-encrypt-port: The input and output ports must now be binary
+ ports. The key and init vector must be byte vectors of the
+ appropriate length.
+
mit-scheme-pucked-mcrypt 0.1.1 - Matt Birkholz, 2017-03-01
==========================================================
AC_PREREQ([2.69])
AC_INIT([MIT/GNU Scheme Pucked mcrypt plugin],
- [0.1.1],
+ [0.2.1],
[matt@birchwood-abbey.net],
[mit-scheme-pucked-mcrypt])
AC_CONFIG_SRCDIR([mcrypt.pkg])
+mit-scheme-pucked-mcrypt (0.2.1-1) experimental; urgency=low
+
+ * New upstream; now using bytevectors.
+
+ -- Matt Birkholz <matt@birchwood-abbey.net> Sat, 18 Mar 2017 00:00:00 -0700
+
mit-scheme-pucked-mcrypt (0.1.1-1) experimental; urgency=low
* Stolen from MIT/GNU Scheme.
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301, USA.
+mit-scheme-pucked-md5 0.2.1 - Matt Birkholz, 2017-03-18
+=======================================================
+
+New upstream with significant changes per the move to Unicode strings.
+
+* The returned digests are now bytevectors, and md5-sum->number and
+ md5-sum->hexadecimal now require bytevectors. If you treated the
+ digests as opaque objects except for those converters, then you
+ continue to win.
+
mit-scheme-pucked-md5 0.1.1 - Matt Birkholz, 2017-03-01
=======================================================
AC_PREREQ([2.69])
AC_INIT([MIT/GNU Scheme Pucked md5 plugin],
- [0.1.1],
+ [0.2.1],
[matt@birchwood-abbey.net],
[mit-scheme-pucked-md5])
AC_CONFIG_SRCDIR([md5.pkg])
+mit-scheme-pucked-md5 (0.2.1-1) experimental; urgency=low
+
+ * New upstream; now using bytevectors.
+
+ -- Matt Birkholz <matt@birchwood-abbey.net> Sat, 18 Mar 2017 00:00:00 -0700
+
mit-scheme-pucked-md5 (0.1.1-1) experimental; urgency=low
* Stolen from MIT/GNU Scheme.
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301, USA.
+mit-scheme-pucked-mhash 0.2.1 - Matt Birkholz, 2017-03-18
+=========================================================
+
+New upstream with significant changes per the move to Unicode strings.
+
+* All digests and salts are now bytevectors, not strings. Affected
+ procedures: mhash-end, mhash-file, mhash-hmac-end, mhash-keygen,
+ mhash-string and mhash-substring.
+
+* The -update procedures must be fed with (sub)bytevectors, not
+ (sub)strings. Affected procedures: mhash-update and mhash-hmac-
+ update.
+
+* mhash-sum->hexadecimal and mhash-sum->number now require
+ bytevectors. If you treated the digests as opaque objects except
+ for those converters (and did not use salt nor an -update
+ procedure), then you continue to win.
+
mit-scheme-pucked-mhash 0.1.1 - Matt Birkholz, 2017-03-01
=========================================================
AC_PREREQ([2.69])
AC_INIT([MIT/GNU Scheme Pucked mhash plugin],
- [0.1.1],
+ [0.2.1],
[matt@birchwood-abbey.net],
[mit-scheme-pucked-mhash])
AC_CONFIG_SRCDIR([mhash.pkg])
+mit-scheme-pucked-mhash (0.2.1-1) experimental; urgency=low
+
+ * New upstream; now using bytevectors.
+
+ -- Matt Birkholz <matt@birchwood-abbey.net> Sat, 18 Mar 2017 00:00:00 -0700
+
mit-scheme-pucked-mhash (0.1.1-1) experimental; urgency=low
* Stolen from MIT/GNU Scheme.
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301, USA.
+mit-scheme-pucked-x11 0.2.1 - Matt Birkholz, 2017-03-18
+=======================================================
+
+* New upstream converts strings (atom names and xterm content) to UTF8
+ bytes for the foreign library. This should be transparent if you
+ were using standard ASCII property names and writing only ASCII
+ graphical characters to your xterms.
+
mit-scheme-pucked-x11 0.1.1 - Matt Birkholz, 2017-03-01
=======================================================
AC_PREREQ([2.69])
AC_INIT([MIT/GNU Scheme Pucked x11 plugin],
- [0.1.1],
+ [0.2.1],
[matt@birchwood-abbey.net],
[mit-scheme-pucked-x11])
AC_CONFIG_SRCDIR([x11.pkg])
+mit-scheme-pucked-x11 (0.2.1-1) experimental; urgency=low
+
+ * New upstream converts strings (e.g. atom names, xterm content) to
+ UTF8 bytes for the foreign library.
+
+ -- Matt Birkholz <matt@birchwood-abbey.net> Sat, 18 Mar 2017 00:00:00 -0700
+
mit-scheme-pucked-x11 (0.1.1-1) experimental; urgency=low
* Stolen from MIT/GNU Scheme.