Dear maintainer,
I have applied the patches supplied with this bug report, and still get
SHA1 in stead of SHA256. In the dialog box, SHA256 is selected by default.
If I toggle to say SHA512 and back to SHA256, I get a SHA256 digest.
I traced the problem to the function _fill_radiobox in GUI.pm. For some
reason, the value for the digest gets changed in this function. I swapped
two lines, and the problem is gone. I also added a sort in the for
command. I have attached a diff file.
With kind regards,
Peter Roes
--- tinyca_org/GUI.pm 2013-03-25 09:01:53.000000000 +0100
+++ tinyca/GUI.pm 2015-01-14 23:27:39.000000000 +0100
@@ -3094,10 +3102,10 @@
$previous_key = undef;
- for $value (keys %values) {
+ for $value (sort keys %values) {
my $display_name = $values{$value};
my $key = Gtk2::RadioButton->new($previous_key, $display_name);
- $key->set_active(1) if(defined($$var) && $$var eq $value);
$key->signal_connect('toggled' =>
sub{GUI::CALLBACK::toggle_to_var($key, $var, $value)});
+ $key->set_active(1) if(defined($$var) && $$var eq $value);
$radiobox->add($key);
$previous_key = $key;