version 0.14

This commit is contained in:
NIIBE Yutaka
2011-10-07 11:01:21 +09:00
parent 48f552b69b
commit 2181c1a428
6 changed files with 27 additions and 6 deletions

View File

@@ -1,3 +1,10 @@
2011-10-07 NIIBE Yutaka <gniibe@fsij.org>
* Version 0.14.
* src/usb_desc.c (gnukStringSerial): Updated.
* src/random.c (random_init): Call neug_prng_reseed.
2011-10-06 NIIBE Yutaka <gniibe@fsij.org> 2011-10-06 NIIBE Yutaka <gniibe@fsij.org>
* src/Makefile.in (random_bits): Remove. * src/Makefile.in (random_bits): Remove.

10
NEWS
View File

@@ -1,5 +1,15 @@
Gnuk NEWS - User visible changes Gnuk NEWS - User visible changes
* 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.
* Major changes in Gnuk 0.13 * Major changes in Gnuk 0.13
Released 2011-06-15, by NIIBE Yutaka Released 2011-06-15, by NIIBE Yutaka

10
README
View File

@@ -1,7 +1,7 @@
Gnuk - software for GnuPG USB Token Gnuk - software for GnuPG USB Token
Version 0.13 Version 0.14
2011-06-15 2011-10-07
Niibe Yutaka Niibe Yutaka
Free Software Initiative of Japan Free Software Initiative of Japan
@@ -27,7 +27,7 @@ FAQ
=== ===
Q0: How Gnuk USB Token is superior than other solutions (OpenPGP Q0: How Gnuk USB Token is superior than other solutions (OpenPGP
card 2.0, GPF Crypto Stick, etc) ? card 2.0, GPF Crypto Stick, etc.) ?
http://www.g10code.de/p-card.html http://www.g10code.de/p-card.html
http://www.privacyfoundation.de/crypto_stick/ http://www.privacyfoundation.de/crypto_stick/
A0: IMRHO, not quite. There is no ready-to-use out-of-box product. A0: IMRHO, not quite. There is no ready-to-use out-of-box product.
@@ -54,6 +54,8 @@ Q3: What's your recommendation for target board?
A3: Orthodox choice is Olimex STM32-H103. A3: Orthodox choice is Olimex STM32-H103.
If you have skill of electronics and like DIY, STM32 part of STM8S If you have skill of electronics and like DIY, STM32 part of STM8S
Discovery Kit might be the best choice. Discovery Kit might be the best choice.
Currently FST-01 (Flying Stone Tiny 01) is under development,
it will be the best choice, hopefully.
Q4: What's version of GnuPG are you using? Q4: What's version of GnuPG are you using?
A4: In Debian GNU/Linux system, I use gnupg 1.4.11-3 and gnupg-agent A4: In Debian GNU/Linux system, I use gnupg 1.4.11-3 and gnupg-agent
@@ -125,7 +127,7 @@ It is known not-working well:
Not supported feature(s): Not supported feature(s):
* Overriding key import. You need to remove all keys first. * Overriding key import. You need to remove all keys first.
* Key generation * Key generation on device side
Targets Targets

View File

@@ -1,5 +1,5 @@
/* /*
* random.c - random number generation * neug.c - random number generation (from NeuG/src/random.c)
* *
* Copyright (C) 2011 Free Software Initiative of Japan * Copyright (C) 2011 Free Software Initiative of Japan
* Author: NIIBE Yutaka <gniibe@fsij.org> * Author: NIIBE Yutaka <gniibe@fsij.org>

View File

@@ -38,6 +38,8 @@ random_init (void)
for (i = 0; i < NEUG_PRE_LOOP; i++) for (i = 0; i < NEUG_PRE_LOOP; i++)
(void)neug_get (NEUG_KICK_FILLING); (void)neug_get (NEUG_KICK_FILLING);
neug_prng_reseed ();
} }
/* /*

View File

@@ -227,7 +227,7 @@ static const uint8_t gnukStringProduct[] = {
const uint8_t gnukStringSerial[] = { const uint8_t gnukStringSerial[] = {
13*2+2, /* bLength */ 13*2+2, /* bLength */
USB_STRING_DESCRIPTOR_TYPE, /* bDescriptorType */ USB_STRING_DESCRIPTOR_TYPE, /* bDescriptorType */
'0', 0, '.', 0, '1', 0, '3', 0, /* Version number of Gnuk */ '0', 0, '.', 0, '1', 0, '4', 0, /* Version number of Gnuk */
'-', 0, '-', 0,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,