gnuk/NEWS

542 lines
18 KiB
Plaintext
Raw Normal View History

2010-09-09 00:51:09 +00:00
Gnuk NEWS - User visible changes
2013-11-26 05:53:27 +00:00
* Major changes in Gnuk 1.1.0
Released 2013-12-XX, by NIIBE Yutaka
2013-12-13 07:51:00 +00:00
** Key management with overriding (Incompatible Change)
** RSA key generation improvement
** Security fix for RSA computation
** Upgrade of NeuG
The true random number generator was upgraded with NeuG 1.0.
** Replacement of kernel (thread library)
Instead of ChibiOS/RT, we now use Chopstx.
2013-11-26 05:53:27 +00:00
** Removal of obsolete features
2013-12-13 07:51:00 +00:00
The feature named pin-dial, which is pin input with hardware
enhancement (with rotary encoder) is removed.
2013-11-26 05:53:27 +00:00
2013-03-15 07:25:14 +00:00
* Major changes in Gnuk 1.0.4
Released 2013-03-15, by NIIBE Yutaka
** Relocatable reGNUal, really
In 1.0.3, reGNUal was not fully relocatable. It worked loaded on higher
address, but didn't work for lower address. This was fixed.
2013-03-15 01:41:18 +00:00
* Major changes in Gnuk 1.0.3
Released 2013-03-14, by NIIBE Yutaka
** Relocatable reGNUal
The upgrade helper, reGNUal, is now relocatable (other than the first
vector table). It runs well when loaded at different address. This
makes the upgrade procedure more stable.
** Compilation by newer GNU Toolchain
Now, Gnuk can be compiled with newer GNU Toolchain, specifically GCC
4.7.x and GNU Binutils 2.22. Old versions of Gnuk had problem for
ChibiOS_2.0.8/os/ports/GCC/ARMCMx/cmsis/core_cm3.c, which was fixed.
** Data object 0x0073
Data object 0x0073 is now available.
2012-12-19 07:07:33 +00:00
* Major changes in Gnuk 1.0.2
2013-02-14 02:09:06 +00:00
Released 2013-02-15, by NIIBE Yutaka
2012-12-19 07:07:33 +00:00
** Product string is now "Gnuk Token" (was: "FSIJ USB Token")
Since the USB ID Repository suggests not including vendor name
in product string, we changed the product string.
2012-12-25 05:47:08 +00:00
** New tool (experimental): test/upgrade_by_passwd.py
2012-12-19 07:07:33 +00:00
This is the tool to install new firmware to Gnuk Token, provided
that it's just shipped from factory (and nothing changed). It
authenticate as admin by factory setting, register a public key
for firmware upgrade, and then, does firmware upgrade.
** tool/gnuk_upgrade.py supports '-k' option
It now supports RSA key on the host PC (not the one on the Token).
** New tool: tool/get_raw_public_key.py
This is a script to dump raw data of RSA public key, which is useful
to register to Gnuk Token as a firmware upgrade key.
** New tool: tool/gnuk_remove_keys_libusb.py
This tool is libusb version of gnuk_remove_keys.py. Besides, a bug in
gnuk_remove_keys.py was fixed.
** CCID protocol fix
When time extension is requested by Gnuk Token to host PC, argument
field was 0, which was wrong (but it works for most PC/SC
implementations and GnuPG internal driver). Now it's 1, which means
1*BWT.
2013-02-14 02:09:06 +00:00
** OpenPGP card protocol enhancement
Now, VERIFY command accepts empty data and returns remaining trial
counts, or 0x9000 (OK) when it's already authenticated. This is
useful for application to synchronize card's authentication status.
2012-12-19 07:07:33 +00:00
2012-08-03 02:20:13 +00:00
* Major changes in Gnuk 1.0.1
Released 2012-08-03, by NIIBE Yutaka
** USB SerialNumber String
In 1.0, it has a bug for USB SerialNumber String. It has been fixed
in 1.0.1.
2012-07-26 09:53:59 +00:00
* Major changes in Gnuk 1.0
Released 2012-07-21, by NIIBE Yutaka
This is bug fixes only release.
2012-07-06 01:21:58 +00:00
* Major changes in Gnuk 0.21
2012-06-20 08:31:27 +00:00
2012-07-06 01:21:58 +00:00
Released 2012-07-06, by NIIBE Yutaka
2012-06-20 08:31:27 +00:00
2012-06-28 05:19:05 +00:00
** Test suite
2012-07-06 01:21:58 +00:00
A functinality test suite is added under test/ directory.
2012-06-28 05:19:05 +00:00
2012-06-20 08:31:27 +00:00
** New tool: stlinkv2.py
This tool is SWD flash ROM writer with ST-Link/V2.
2012-06-25 01:53:06 +00:00
** New tool: usb_strings.py
This tool is to dump USB strings, which include revision detail and config
options.
2012-06-29 22:49:40 +00:00
** Protection improvement (even when internal data is disclosed)
Even if PW1 and PW3 is same, content of encrypted DEK is different
now.
2012-06-20 08:31:27 +00:00
2012-06-19 01:19:26 +00:00
* Major changes in Gnuk 0.20
2012-06-13 00:07:26 +00:00
2012-06-19 01:19:26 +00:00
Released 2012-06-19, by NIIBE Yutaka
2012-06-18 03:24:54 +00:00
2012-06-13 00:07:26 +00:00
** Key generation feature added
Finally, key generation is supported. Note that it may be very slow.
2012-06-19 01:19:26 +00:00
It may take a few minutes (or more) to generate two or three keys,
when you are unlucky.
2012-06-13 00:07:26 +00:00
** DnD pinentry support is deprecated
Once, DnD pinentry was considered a great feature, but it found that
it is difficult to remember moves of folders.
2012-06-13 23:46:59 +00:00
** gnuk_upgrade.py assumes using another token for authentication
Use of another token for authentication is assumed now. This is
incompatible change. Note that when you upgrade a token of version
0.19 to 0.20 (or later), you need gnuk_upgrade.py of version 0.19.
** KDF (Key Derivation Function) is now SHA-256
Keystring is now computed by SHA-256 (it was SHA1 before).
** Protection improvements (even when internal data is disclosed)
Three improvements. (1) Even if PW1 and Reset-code is same, content
2012-06-20 05:44:20 +00:00
of encrypted DEK is different now. (2) DEK is now encrypted and
decrypted by keystring in ECB mode (it was just a kind of xor by
single block CFB mode). (3) Key data plus checksum are encrypted in
CFB mode with initial vector (it will be able to switch OCB mode
easily).
2012-06-19 01:19:26 +00:00
** LED display output change
LED display output by Gnuk is now more reactive. It shows status code
when it gets GET_STATUS message of CCID. When you communicate Gnuk by
internal CCID driver of GnuPG (instead of PC/SC), and enable
'debug-disable-ticker' option in .gnupg/scdaemon.conf, it is more
silent now.
2012-06-13 00:07:26 +00:00
2012-05-31 06:03:31 +00:00
* Major changes in Gnuk 0.19
2012-06-06 00:05:24 +00:00
Released 2012-06-06, by NIIBE Yutaka
2012-05-31 06:03:31 +00:00
** Firmware upgrade feature
2012-06-06 00:05:24 +00:00
Firmware upgrade is now possible after the public key authentication
using EXTERNAL AUTHENTICATE command of ISO 7816. Firmware upgrade is
done together with reGNUal, the firmware upgrade program.
** System service blocks at the beginning of flash ROM.
Once flash ROM is protected, first 4-KiB cannot be modified. Gnuk
use this area for "system service". Note that this area will not
be able to be modified by firmware upgrade (or by any method).
2012-05-31 06:03:31 +00:00
** New tool: gnuk_upgrade.py
2012-06-06 00:05:24 +00:00
The tool gnuk_upgrade.py is to do public key authentication using
gpg-agent and send reGNUal to Gnuk. Then, we put new Gnuk binary
into the device with reGNUal.
** USB strings for revision detail, configure options, and system service.
USB strings now have more information. There are revision detail
string, configure options string, system service version string, as
well as vendor string and product string. These strings could be
examined to check Gnuk Token.
2012-05-31 06:03:31 +00:00
2012-05-10 10:01:01 +00:00
* Major changes in Gnuk 0.18
2012-05-15 01:16:25 +00:00
Released 2012-05-15, by NIIBE Yutaka
2012-05-10 10:01:01 +00:00
** New mandatory option '--vidpid' for configure
You must specify USB vendor ID and product ID for Gnuk.
The file GNUK_USB_DEVICE_ID lists valid USB device IDs.
2012-05-15 01:16:25 +00:00
** New tool: gnuk_remove_keys.py
The tool gnuk_remove_keys.py is to remove all keys in Gnuk Token
and reset PW1 and RC (if any).
2012-05-10 10:01:01 +00:00
** New USB stack
Gnuk used to use USB stack of USB-FS-Device_Lib by ST. Now, it has
original implementation. Hopefully, size and quality are improved.
2011-12-20 01:39:47 +00:00
* Major changes in Gnuk 0.17
2012-02-02 05:09:38 +00:00
Released 2012-02-02, by NIIBE Yutaka
2011-12-20 01:39:47 +00:00
2012-02-02 05:09:38 +00:00
** USB CCID/ICCD protocol implementation change
2012-06-04 02:30:04 +00:00
Gnuk now only supports short APDU level exchange, not supporting
2012-02-02 05:09:38 +00:00
extended APDU level exchange. Thus, Gnuk could be compatible to older
host side software implementation.
** ISO 7816 SELECT command behavior is somewhat strict now
2012-01-05 08:04:00 +00:00
Old implementations do not check DF name for SELECT command.
This causes some trouble when Gnuk Token is identified as if it were
different card/token. Now, DF name of OpenPGP card is checked.
2012-02-02 05:09:38 +00:00
** USB CCID/ICCD low-level bug is fixed
2011-12-28 03:27:16 +00:00
When the size of command APDU data is just 49, the lower level packet
size is 64. This is maximum size of BULK-OUT transfer packet, and
caused trouble in the past implementations. Example is setting url
(0x5f50) as: http://www.gniibe.org/adpu-string-size-is-just-49
2012-01-05 08:04:00 +00:00
This is because the past implementations expect ZLP (zero length
packet). Now, it has been fixed. You can use any size of string.
2011-12-28 03:27:16 +00:00
2011-12-21 05:14:28 +00:00
** CERT.3 Data Object (0x7f21) is now optional
As there's no valid use case for this data object and it does not
work as current version of GnuPG, this is now optional feature.
You can enable this data object by specifying --enable-certdo at
configure time.
2011-12-20 01:39:47 +00:00
** With DnD pinentry, user can cancel pin input
Now, user can cancel pin input by unmounting device before finishing
DnD.
2012-01-05 08:04:00 +00:00
** New tool: pinpadtest.py
The tool pinpadtest.py is PC/SC test tool for pinentry of pinpad with
2011-12-20 01:39:47 +00:00
OpenPGP card v2.
2011-12-13 05:25:07 +00:00
* Major changes in Gnuk 0.16
2011-12-14 03:50:54 +00:00
Released 2011-12-14, by NIIBE Yutaka
2011-12-13 05:25:07 +00:00
** DnD pinentry support is added and it's default to pinentry support
DnD pinentry support doesn't require any hardware extension, but
emulates mass storage class device of USB. User inputs pass phrase
by "drag and drop"-ing folders using file manager or something.
** Bug fix for VERIFY for CHV2
With no keys, VERIFY command for CHV2 used to fail even if pass phrase
is correct. It was intentional, because CHV2 verification would be
useless with no keys. But there is a corner case for PRIVATE-DOs,
which may requires CHV2 verification. Even though Gnuk doesn't
support any PRIVATE-DOs, it is good to be fixed.
2011-12-14 03:50:54 +00:00
** Changed bcdUSB = 1.1
Gnuk device conforms to USB 2.0 full speed device, but when it was
2.0, some OS informs users, "you can connect the device to 2.0
compliant hub so that it can have better bandwidth", which is not
the case for full speed device.
2011-12-13 05:25:07 +00:00
2011-11-01 06:58:48 +00:00
* Major changes in Gnuk 0.15
2011-11-24 06:40:38 +00:00
Released 2011-11-24, by NIIBE Yutaka
** New targets: FST_01 and FST_01_00
Flying Stone Technology's open hardware, Flying Stone Tiny 01 is
supported.
** Flash writing tool for "DfuSe" is improved
2011-12-13 05:25:07 +00:00
Now, it supports holes and unaligned blocks in hex file.
2011-11-01 06:58:48 +00:00
** Experimental PIN-pad support (by TV controller) change
Now, Gnuk has codetables for conversion from CIR code to ASCII code.
Note that only four controllers (of Dell, Sharp, Sony, and Toshiba)
are supported and tested.
** It is possible for users to keep using OPENPGP_CARD_INITIAL_PW1
With a bug fix of verify_user_0, it's now possible. Although it's not
recommended.
** Important bug fix and a workaround
In version 0.14, __main_stack_size__ (for interrupt handler) was too
small for some cases. This is fixed in 0.15.
In src/Makefile.in, added -mfix-cortex-m3-ldrd for correctly linking C
library for thumb2. This is needed for newer summon-arm-toolchain.
2011-10-07 02:01:21 +00:00
* Major changes in Gnuk 0.14
Released 2011-10-07, by NIIBE Yutaka
** Random number generator change
NeuG, Gniibe's True RNG implementation for STM32F103, has been
integrated to Gnuk. It is not needed to put random number bytes
(generated by host) to Token any more.
2011-06-14 23:52:02 +00:00
* Major changes in Gnuk 0.13
Released 2011-06-15, by NIIBE Yutaka
** Improved RSA routine.
About 20% speed improvement.
** New tool: hub_ctrl.
It is a Python implementation ported from original C implementation.
It is useful for development of USB target if you have a good hub.
You can power off/on the port to reset Gnuk Token.
2011-05-11 07:48:08 +00:00
* Major changes in Gnuk 0.12
2011-05-13 02:59:05 +00:00
Released 2011-05-13, by NIIBE Yutaka
2011-05-11 07:48:08 +00:00
** Admin-less mode is supported.
2011-05-11 23:42:57 +00:00
The OpenPGP card specification assumes existence of a security officer
(admin), who has privilege to manage the card. On the other hand,
2011-05-11 07:48:08 +00:00
many use cases of Gnuk are admin == user.
Thus, Gnuk now supports "admin-less" mode. In this mode, user can get
privilege with the password of PW1.
At the initialization of the card, Gnuk becomes compatible mode by
setting PW3. Without setting PW3, it becomes "admin-less" mode
by setting PW1.
2011-05-12 02:04:14 +00:00
** Important two bug fixes.
2011-05-13 02:59:05 +00:00
Gnuk (<= 0.11) has a bug which makes possible for attacker to change
user password to unknown state without knowing original password (when
no keys are loaded yet). No, attacker could not steal your identity
(cannot sign or decrypt), but it would be possible to disturb you.
2011-05-12 02:22:08 +00:00
2011-05-13 02:59:05 +00:00
Gnuk (<= 0.11) has a bug which makes possible for attacker to guess
2011-05-11 23:42:57 +00:00
admin password easily. When admin password is not set (the default
value of factory setting), failure of VERIFY doesn't increment error
counter in older versions. Observing no increment of error counter,
attacker could know that admin password is the one of factory setting.
2011-05-11 07:48:08 +00:00
** tool/gnuk_put_binary.py now uses pyscard.
Instead of PyUSB, it uses Python binding of PC/SC. PyUSB version is
still available as tool/gnuk_put_binary_libusb.py.
** Logo for Gnuk is updated.
** Gnuk Sticker SVG is available.
2011-05-10 00:30:55 +00:00
* Major changes in Gnuk 0.11
Released 2011-04-15, by NIIBE Yutaka
This is bug fixes only release.
2011-02-10 04:57:23 +00:00
* Major changes in Gnuk 0.10
Released 2011-02-10, by NIIBE Yutaka
** The executable can be installed to multiple devices.
So far, users of Gnuk should have not shared single executable among
multiple devices because the executable includes random bits (or
fixed serial number). Now, random_bits and fixed serial number are
configured *after* compilation, we can install single executable image
to multiple devices. Note that we need to configure random_bits for
each device.
** Removed configure option: --with-fixed-serial
It is not compile time option any more. After installation, we can
modify serial number in AID by tool/gnuk_put_binary.py. Modification
is possible only once. If you don't modify, Gnuk uses unique chip ID
of STM32 processor for AID.
2011-01-26 02:30:01 +00:00
* Major changes in Gnuk 0.9
2011-02-01 06:25:36 +00:00
Released 2011-02-01, by NIIBE Yutaka
2011-01-26 02:30:01 +00:00
2011-02-01 06:25:36 +00:00
** Card Holder Certificate is supported (still this is experimental).
Gnuk can support card holder certificate now. Note that GnuPG is not
ready yet. The tool/gnuk_update_binary.py is for writing card holder
certificate to Gnuk Token.
2011-01-27 09:17:01 +00:00
2011-01-26 02:30:01 +00:00
** Better interoperability to OpenSC.
2011-01-27 06:09:59 +00:00
Gnuk is not yet supported by OpenSC, but it could be. With the
2011-01-26 02:30:01 +00:00
changes in Gnuk, it could be relatively easily possible to support
Gnuk Token by OpenSC with a few changes to libopensc/card-openpgp.c,
2011-01-27 01:02:46 +00:00
and libopensc/pkcs15-openpgp.c.
2011-01-26 02:30:01 +00:00
2011-02-10 04:57:23 +00:00
** New board support "STBee"
STBee is a board by Strawberry Linux Co., Ltd., and it has
2011-01-26 02:30:01 +00:00
STM32F103VET6 on the board. The chip is High Density CPU with 512KB
flash memory and many I/O. If you want to connect sensor, display,
2011-01-27 01:02:46 +00:00
etc., this board would be a good candidate.
** Experimental PIN-pad modification(unblock) support is added.
PIN-pad modification(unblock) is supported.
2011-01-26 02:30:01 +00:00
2011-01-19 06:44:37 +00:00
* Major changes in Gnuk 0.8
Released 2011-01-19, by NIIBE Yutaka
** Experimental PIN-pad modification support is added.
PIN input using rotally encoder and push switch is tested with STBee
Mini. By this hardware, PIN-pad modification is supported.
2011-01-15 12:49:17 +00:00
* Major changes in Gnuk 0.7
Released 2011-01-15, by NIIBE Yutaka
** Bug fix only.
In version 0.6, a severe bug was introduced in usb-icc.c when adding a
work around for libccid 1.3.11. The fix is one-liner, but it is worth
to release newer version.
2011-01-14 06:47:15 +00:00
* Major changes in Gnuk 0.6
Released 2011-01-14, by NIIBE Yutaka
** Experimental PIN-pad support is added.
Local PIN-pad input is suppored for boards which have input hardware.
PIN input using consumer IR receive module is tested with STBee Mini
and STM8S Discovery.
** USB device serial number is virtually unique now.
STM32F103 has 96-bit unique chip identifier. We take advantage of
this, Gnuk Token has virtually unique USB serial number.
** Card serial number is determined at run time by chip identifier.
Until version 0.5, card serial number was compile time option. If we
used same binary for different devices, card serial number was same.
Now, we use STM32F103's 96-bit unique chip identifier for card serial
number (when you don't use --with-fixed-serial option).
** More improved USB-CCID/ICCD implementation.
The changes in 0.5 was not that good for libccid 1.3.11, which has
small buffer (only 262-byte APDU). Workaround for libccid 1.3.11 is
implemented.
2010-11-29 23:40:01 +00:00
* Major changes in Gnuk 0.5
2010-12-12 23:51:48 +00:00
Released 2010-12-13, by NIIBE Yutaka
2010-11-29 23:40:01 +00:00
2010-12-09 01:12:54 +00:00
** LED blink
2010-12-10 07:31:25 +00:00
LED blink now shows status output of the card. It shows the status of
2010-12-09 01:12:54 +00:00
CHV3, CHV2, and CHV1 when GPG is accessing the card.
** New board support "STM8S Discovery"
2010-11-29 23:40:01 +00:00
ST-Link part (with STM32F103C8T6) of STM8S Discovery board is now supported.
** Digital signing for SHA224/SHA256/SHA384/SHA512 digestInfo is now possible.
2010-12-09 01:12:54 +00:00
** Fixes for password management
2010-12-12 23:51:48 +00:00
Now, you can allow the token to do digital signing multiple times with
2010-12-09 01:12:54 +00:00
single authentication. You can use "forcesig" subcommand in card-edit
of GnuPG to enable the feature.
2010-11-30 01:04:30 +00:00
2010-12-07 06:52:50 +00:00
** Key management changes
If you remove all keys, it is possible to import keys again.
2010-11-29 23:40:01 +00:00
** More improved USB-CCID/ICCD implementation.
2010-12-07 06:52:50 +00:00
Gnuk works better with GPG's in-stock protocol stack. You can do
digital signing (not decryption, key import, or get_public_key in
GPG2). For decryption, key import and get_public_key, changes are
needed for GPG (scd/ccid-driver.c) to support the case of extended
2010-12-12 23:51:48 +00:00
APDU. In short, you can sign with Gnuk by GPG.
2010-11-29 23:40:01 +00:00
2010-12-10 07:31:25 +00:00
** Windows support.
2010-12-12 23:51:48 +00:00
Gnuk Token could run with GPG4WIN on MS Windows. GPG4WIN runs with
"usbccid" driver and "winscard" driver.
2010-12-10 07:31:25 +00:00
2010-11-29 23:40:01 +00:00
2010-11-02 03:37:13 +00:00
* Major changes in Gnuk 0.4
2010-11-09 05:32:41 +00:00
Released 2010-11-09, by NIIBE Yutaka
** New board support "STBee Mini".
2010-11-02 03:37:13 +00:00
** Flash writing tool for "DfuSe" is included now.
2010-11-09 05:32:41 +00:00
** Since Flash GC is now implemented, it can be used longer.
2010-11-02 03:37:13 +00:00
2010-10-14 08:08:09 +00:00
* Major changes in Gnuk 0.3
2010-11-02 03:37:13 +00:00
Released 2010-10-23, by NIIBE Yutaka
2010-10-14 08:08:09 +00:00
** Now we have 'configure' script to select target.
** Support system with DFU (Device Firmware Upgrade) downloader.
2010-10-20 01:20:45 +00:00
** New board support "CQ STARM".
2010-10-14 08:08:09 +00:00
** Improved USB-ICCD implementation. Works fine with GPG's protocol stack.
2010-09-09 16:25:44 +00:00
* Major changes in Gnuk 0.2
2010-09-13 02:47:21 +00:00
Released 2010-09-13, by NIIBE Yutaka
2010-09-09 16:25:44 +00:00
** With DEBUG=1, timeout is more than 3 seconds.
** Flash ROM entries for random numbers are cleared after use.
2010-09-13 02:47:21 +00:00
** Board support "STM32 Primer 2" now works.
2010-09-09 16:25:44 +00:00
2010-09-09 00:51:09 +00:00
* Major changes in Gnuk 0.1
2010-09-09 08:50:34 +00:00
Released 2010-09-10, by NIIBE Yutaka
** Enabled force_chv1 (in the pw_status_bytes), so that the decipher works.
** Support both of key for digital signing and key for decryption.
** Decipher is supported.
2010-09-09 00:51:09 +00:00
2010-09-13 02:47:21 +00:00
** New board support "STM32 Primer 2" is added by Kaz Kojima.
2010-09-09 00:51:09 +00:00
2010-09-09 08:50:34 +00:00
** LED behavior is meaningful now. "ON" during execution.
2010-09-09 00:51:09 +00:00
** Fixed bcdCCID revision number.
** Logo.
* Major changes in Gnuk 0.0
Released 2010-09-06, by NIIBE Yutaka
** This is initial release. Only it supports digital signing.
Local Variables:
mode: outline
End: