mirror of
https://salsa.debian.org/gnuk-team/gnuk/gnuk.git
synced 2024-09-20 02:40:08 +00:00
configure: Allow override of kdf_do variable.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
4c833a3e67
commit
ca8c4b6adb
@ -1,3 +1,7 @@
|
|||||||
|
2021-10-11 NIIBE Yutaka <gniibe@fsij.org>
|
||||||
|
|
||||||
|
* src/configure (kdf_do): It can be overridden, now.
|
||||||
|
|
||||||
2021-07-01 NIIBE Yutaka <gniibe@fsij.org>
|
2021-07-01 NIIBE Yutaka <gniibe@fsij.org>
|
||||||
|
|
||||||
* src/configure (CONFIG): Add KDF configuration.
|
* src/configure (CONFIG): Add KDF configuration.
|
||||||
|
43
NEWS
43
NEWS
@ -1,6 +1,49 @@
|
|||||||
Gnuk NEWS - User visible changes
|
Gnuk NEWS - User visible changes
|
||||||
|
|
||||||
|
|
||||||
|
* Major changes in Gnuk 1.2.19
|
||||||
|
|
||||||
|
Released 2021-10-12, by NIIBE Yutaka
|
||||||
|
|
||||||
|
** KDF Data Object configuration
|
||||||
|
KDF Data Object should be highly recommended for all configurations.
|
||||||
|
Nevertheless, for backward compatibillity, in Gnuk 1.2, it is optional
|
||||||
|
by default; It is up to user to configure KDF Data Object before
|
||||||
|
importing private keys. In this situation, it is not good to
|
||||||
|
introduce new build-time option like --enable-always-require-kdf-do,
|
||||||
|
because it might wrongly encourage use of Gnuk with no KDF Data Object
|
||||||
|
setting, by confusion. If needed, please run configure:
|
||||||
|
|
||||||
|
kdf_do=required ./configure --enable-factory-reset --target...
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
|
kdf_do=optional ./configure --enable-factory-reset --target...
|
||||||
|
|
||||||
|
Please note that such a use of variable by shell command line is not
|
||||||
|
well supported by the configure script (for other variables), but
|
||||||
|
override of kdf_do is needed in some situations.
|
||||||
|
|
||||||
|
** Upgrade of Chopstx
|
||||||
|
We use Chopstx 1.20. This enables use with PC/SC for GNU/Linux
|
||||||
|
emulation.
|
||||||
|
|
||||||
|
|
||||||
|
* Major changes in Gnuk 1.2.18
|
||||||
|
|
||||||
|
Released 2021-04-02, by NIIBE Yutaka
|
||||||
|
|
||||||
|
** GNU/Linux emulation bug fix
|
||||||
|
This time, for GNU/Linux emulation, KDF Data Object is required before
|
||||||
|
keygen and key import, really.
|
||||||
|
|
||||||
|
** tool/upgrade_by_passwd.py
|
||||||
|
Now, it checks if the target of binary being written and the
|
||||||
|
configured target of running device are same. This check can be
|
||||||
|
skipped by -s option. Please note that FST-01 and FST-01SZ are
|
||||||
|
different target, as it's MHz is different.
|
||||||
|
|
||||||
|
|
||||||
* Major changes in Gnuk 1.2.17
|
* Major changes in Gnuk 1.2.17
|
||||||
|
|
||||||
Released 2021-02-25, by NIIBE Yutaka
|
Released 2021-02-25, by NIIBE Yutaka
|
||||||
|
4
src/configure
vendored
4
src/configure
vendored
@ -46,7 +46,7 @@ hid_card_change=no
|
|||||||
factory_reset=no
|
factory_reset=no
|
||||||
ackbtn_support=yes
|
ackbtn_support=yes
|
||||||
flash_override=""
|
flash_override=""
|
||||||
kdf_do=optional
|
kdf_do=${kdf_do:-optional}
|
||||||
# For emulation
|
# For emulation
|
||||||
prefix=/usr/local
|
prefix=/usr/local
|
||||||
exec_prefix='${prefix}'
|
exec_prefix='${prefix}'
|
||||||
@ -219,7 +219,7 @@ if test "$target" = "GNU_LINUX"; then
|
|||||||
emulation="yes"
|
emulation="yes"
|
||||||
cross=""
|
cross=""
|
||||||
mcu="none"
|
mcu="none"
|
||||||
kdf_do=required
|
kdf_do=${kdf_do:-required}
|
||||||
def_emulation="-DGNU_LINUX_EMULATION"
|
def_emulation="-DGNU_LINUX_EMULATION"
|
||||||
def_memory_size="-DMEMORY_SIZE=1024"
|
def_memory_size="-DMEMORY_SIZE=1024"
|
||||||
enable_hexoutput=""
|
enable_hexoutput=""
|
||||||
|
Loading…
Reference in New Issue
Block a user