forked from muzena/gnome-keyring
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.old
6166 lines (4523 loc) · 179 KB
/
ChangeLog.old
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
=== Later ChangeLog is auto-generated ===
2009-04-14 Stef Walter <[email protected]>
* AUTHORS: Add gnome keyring mailing list
2009-04-01 Stef Walter <[email protected]>
* egg/egg-unix-credentials.c: Build fix for Clang.
Patch by Ed Schouten.
2009-04-01 Stef Walter <[email protected]>
* gcr/tests/Makefile.am: Distribute test data.
Fixes bug #577397
2009-04-01 Stef Walter <[email protected]>
* egg/egg-asn1.c: Make function definitions match
declarations for egg_asn1 time functions. Fixes bug #576762
2009-04-01 Stef Walter <[email protected]>
* configure.in:
* daemon/Makefile.am:
* daemon/org.gnome.keyring.service.in: Include the full
path to gnome-keyring-daemon in the DBus service file.
Fixes problems with autostarting daemon. See bug #576630
2009-04-01 Stef Walter <[email protected]>
* egg/egg-secure-memory.c: Fix assertion that occurs when
shrinking block of secure memory and then expanding again.
* egg/egg-secure-memory.c:
* egg/egg-secure-memory.h: Add validator which walks the
secure memory heap and checks for inconsistencies.
* egg/egg-secure-memory.c: Fix problem where freed memory
is not inserted into the unused ring properly. This caused
enless loops. Should fix bug #575247
* egg/egg-secure-memory.c:
* egg/tests/unit-test-secmem.c: Put in a semi-random test
excercising 1000 iterations of allocation, reallocation,
freeing. Validates between each step.
2009-03-20 Stef Walter <[email protected]>
* configure.in: Quote shell variable properly in configure.in
Patch by Daiki Ueno. Fixes bug #575805
2009-03-20 Stef Walter <[email protected]>
* pkcs11/rpc-layer/gck-rpc-daemon-standalone.c: Don't use err.h
since Solaris doesn't have it. Fixes bug #575829
2009-03-16 Stef Walter <[email protected]>
* library/gnome-keyring-utils.c: Set USERNAME
and LOGNAME environment variables in daemon when
starting up. Fixes bug #575262. Reported by Matthias Clasen
2009-03-16 Stef Walter <[email protected]>
* configure.in: Bump version
2009-03-16 Stef Walter <[email protected]>
* Merge docs-organize branch.
=== gnome-keyring 2.26.0 ===
2009-03-14 Stef Walter <[email protected]>
* configure.in:
* NEWS: Version 2.26.0
2009-03-10 Stef Walter <[email protected]>
* configure.in:
* daemon/Makefile.am:
* daemon/gnome-keyring-daemon.desktop.in.in:
* daemon/org.gnome.keyring.service.in:
* egg/egg-secure-memory.c:
* pam/gkr-pam-module.c: Implement valgrind support for our
memory allocator, and support for running gnome-keyring-daemon
under valgrind. Use --enable-valgrind=run
2009-03-04 Stef Walter <[email protected]>
* configure.in:
* egg/Makefile.am:
* egg/tests/Makefile.am:
* pkcs11/gck/Makefile.am:
* pkcs11/gck/tests/Makefile.am: Check for asn1Parser tool in
configure. Patch by Alberto Ruiz. Fixes bug #566731
2009-03-03 Stef Walter <[email protected]>
* gp11/gp11-module.c:
* gp11/gp11-session.c:
* gp11/gp11-slot.c:
* gp11/gp11.h: Allow specifying auto-authenticate property on a
more fine grained level.
* pkcs11/gck/gck-roots-module.c: Don't expose public key for
certificates as a findable PKCS#11 object.
* pkcs11/ssh-agent/gck-ssh-agent-ops.c:
* pkcs11/ssh-agent/gck-ssh-agent-standalone.c:
* pkcs11/ssh-agent/gck-ssh-agent.c: Only login to a token once we
have a public key for which we want to use the private.
2009-03-03 Stef Walter <[email protected]>
* HACKING: Add link to architecture page on wiki.
2009-03-02 Stef Walter <[email protected]>
* egg/egg-secure-entry.c: Fix "gnome-keyring-ask needs to disable
input method in password" bug #561331 Patch by Takao Fujiwara
=== gnome-keyring 2.25.92 ===
2009-03-02 Stef Walter <[email protected]>
* NEWS: Release version 2.25.92
2009-02-28 Stef Walter <[email protected]>
* daemon/gkr-daemon.c: Don't allow multiple callers to overlap
completing the daemon initialization. This led to assertions and
a crash on startup.
2009-02-28 Stef Walter <[email protected]>
* daemon/keyrings/gkr-keyrings.c: Load keyrings if they've never been
loaded when looking for a keyring.
* daemon/pkcs11/gkr-pkcs11-auth-ep.c:
* daemon/pkcs11/gkr-pkcs11-auth.c:
* daemon/pkcs11/gkr-pkcs11-auth.h:
* pkcs11/pkcs11i.h:
* pkcs11/ssh-store/gck-ssh-openssh.c:
* pkcs11/ssh-store/gck-ssh-openssh.h:
* pkcs11/ssh-store/gck-ssh-private-key.c:
* pkcs11/user-store/gck-user-storage.c: Add compatibility support for
loading SSH key unlock passwords from previous versions of gnome-keyring.
2009-02-28 Stef Walter <[email protected]>
* egg/egg-secure-memory.c: Fix compiler warnings on 32-bit.
* daemon/pk/*: Remove remaining old unused files.
2009-02-26 Stef Walter <[email protected]>
* gcr/gcr-importer.c: Add quick hack to initialize tokens before
importing into them. More functionality along this line will
be needed in future versions.
* pkcs11/gck/gck-module.c:
* pkcs11/gck/gck-module.h:
* pkcs11/user-store/gck-user-module.c: Make different virtual functions
for the logout of SO and user.
* daemon/pkcs11/gkr-pkcs11-auth-ep.c: Prompt for new password when C_InitPIN
is called on a token.
* pkcs11/gck/gck-module.c: Implement C_InitPIN for the cases when no PIN
exists yet.
* pkcs11/gck/gck-data-file.c: Remove erroneous assertion.
* daemon/pkcs11/gkr-pkcs11-auth.c: Fix double free.
* gcr/gcr-importer.c: Fix problem with looking up pin initialized flag
in the wrong structure.
* pkcs11/user-store/gck-user-storage.c: Fix problems not writing out
user store file when making modifications, but overwriting storage
file with zero byte file.
* pkcs11/gck/gck-data-file.c:
* pkcs11/user-store/gck-user-storage.c: Fix problems loading private
objects prematurely from the user store without first logging in.
* pkcs11/user-store/gck-user-private-key.c:
* pkcs11/user-store/gck-user-storage.c: Track logins properly when
unlocking private objects.
* gck/gck-import-dialog.c: Some changes to the import dialog.
2009-02-25 Stef Walter <[email protected]>
* pkcs11/gck/gck-module.c:
* pkcs11/gck/gck-module.h:
* pkcs11/gck/gck-session.c:
* pkcs11/gck/gck-session.h:
* pkcs11/pkcs11i.h:
* pkcs11/user-store/gck-user-module.c: Add support for basic SO logins.
2009-02-25 Stef Walter <[email protected]>
* daemon/pkcs11/gkr-pkcs11-auth-ep.c: Don't automatically initialize
tokens without user pin. This leads to erroneous prompts at unexpected
times.
* gp11/gp11-module.c: When enumerating objects in a module, skip
tokens that fail from not being initialized.
* pkcs11/roots-store/gck-roots-certificate.c: Fix problem with destruction
of roots certificate. dispose erroneously called base class finalize.
2009-02-25 Stef Walter <[email protected]>
* pkcs11/gck/gck-data-file.c:
* pkcs11/gck/gck-data-file.h:
* pkcs11/gck/tests/.gitignore:
* pkcs11/gck/tests/Makefile.am:
* pkcs11/gck/tests/dump-data-file.c: (added)
Implement a testing tool to dump gck data files such as the user
key store.
2009-02-24 Stef Walter <[email protected]>
* tool/gkr-tool-import.c: Exit when an error occurs on import.
2009-02-24 Stef Walter <[email protected]>
* pkcs11/pkcs11i.h:
* pkcs11/user-store/gck-user-storage.c: Hash objects when storing them
in user-store and validate the hashes when loading them.
2009-02-24 Stef Walter <[email protected]>
* pkcs11/pkcs11g.h: Remove old unused definitions.
* pkcs11/pkcs11g.h:
* pkcs11/pkcs11i.h: (added)
* pkcs11/Makefile.am:
* pkcs11/gck/gck-module.c:
* pkcs11/plex-layer/gck-plex-layer.c:
* pkcs11/rpc-layer/gck-rpc-dispatch.c: Move internal definitions a non
public header file.
2009-02-19 Jeff Cai <[email protected]>
* egg/egg-secure-memory.c:
Use union instead of struct.
Fixes bug #571951
2009-02-18 Stef Walter <[email protected]>
* pam/gkr-pam-module.c: If login keyring doesn't exist when
changing the password, don't create it. Fixes bug #572282
Patch by Vincent Untz
2009-02-14 Stef Walter <[email protected]>
* daemon/gkr-daemon.c: Close stdin/stdout when not running
in foreground. Fixes bug #571781
2009-02-14 Stef Walter <[email protected]>
* configure.in: Bump version number.
=== gnome-keyring 2.25.91 ===
2009-02-14 Stef Walter <[email protected]>
* configure.in:
* NEWS:
* gcr/tests/unit-test-certificate.c: Release version 2.25.91
2009-02-14 Stef Walter <[email protected]>
* daemon/ui/gkr-ask-tools.c: Add strings for fixing of bug #571423
2009-02-14 Magnus Boman <[email protected]>
reviewed by: Stef Walter
* daemon/ui/gkr-ask-tool.c (create_markup), (run_dialog):
Bug #570295, Correctly escape markups. Patch by Joe Shaw
2009-02-13 Stef Walter <[email protected]>
* egg/egg-asn1.c:
* egg/egg-asn1.h:
* egg/egg-oid.c: (added)
* egg/egg-oid.h: (added)
* egg/Makefile.am:
* egg/tests/unit-test-asn1.c:
* egg/tests/unit-test-oid.c: (added)
* egg/tests/Makefile.am:
* gcr/gcr-certificate-details-widget.c: Pull out OID information
functionality into it's own file.
* gcr/tests/ui-test-details.c: Change to right directory so we can
easily find test certificates.
* gcr/gcr-certificate-details-widget.c: Fill in key and signature
algorithms and parameters.
* gcr/gcr-certificate.c:
* gcr/gcr-certificate.h:
* gcr/gcr-certificate-details-widget.c: Fill in the key size field.
* egg/egg-oid.c: Fill in the OID descriptions for RSA and DSA stuff.
* gcr/tests/ui-test-details.c: Allow loading any DER certificate file.
* gcr/gcr-certificate-details-widget.c: Show extensions as in hex form.
No parsing of extensions yet.
* gcr/gcr-certificate-details-widget.c: Don't show horizontal scrollbar.
2009-02-13 Stef Walter <[email protected]>
* gcr/gcr-certificate-basics-widget.c: Show the correct MD5 hash
in certificate basics dialog. Patch by Fabrizio Tarizzo. Fixes bug #567769
* egg/egg-hex.c:
* egg/egg-hex.h:
* egg/tests/unit-test-hex.c:
* gcr/gcr-certificate-details-widget.c: Allow specifying the delemiter
and case of hex encodings.
* gcr/gcr-certificate.c: Use more readable upper case space delemited
hex encoding for the fingerprint.
2009-02-13 Stef Walter <[email protected]>
* daemon/gkr-daemon-io.c:
* daemon/gkr-daemon.c:
* daemon/keyrings/gkr-keyring.c:
* daemon/ui/gkr-ask-tool.c:
* egg/egg-buffer.h:
* egg/egg-secure-memory.c:
* egg/egg-secure-memory.h:
* gcr/gcr-library.c:
* library/gnome-keyring-memory.c:
* library/gnome-keyring-proto.c:
* pam/gkr-pam-stubs.c:
* pkcs11/gck/gck-data-types.h:
* pkcs11/roots-store/gck-roots-standalone.c:
* pkcs11/rpc-layer/gck-rpc-module.c:
* pkcs11/ssh-agent/gck-ssh-agent-standalone.c:
* pkcs11/ssh-store/gck-ssh-standalone.c:
* pkcs11/user-store/gck-user-standalone.c:
* tests/gtest-helpers.c:
* tests/test-helpers.c: Use size_t and gsize for memory sizes rather
than unsigned long. Fixes bug #571615
* egg/egg-secure-memory.c: Don't allow allocating zero bytes.
* egg/egg-buffer.c: Don't try and allocate 0 bytes when changing
allocator on an empty buffer.
2009-02-11 Stef Walter <[email protected]>
* egg/egg-secure-memory.c: Remove non-useful mincell structure
element from sub allocator.
* egg/egg-secure-memory.c: Remove FORCE_MALLOC_MEMORY define. It seems
we can accomplish the identical goal with FORCE_FALLBACK_MEMORY.
* egg/egg-secure-memory.c: Calculate memory header size at compile time.
* egg/egg-secure-memory.c: Remove unused field.
* egg/egg-secure-memory.c: Be much stricter about checking pointers and
sizes being passed around.
* egg/egg-secure-memory.c: Completely overhaul the secure memory allocator.
Don't store metadata inside the secure memory area. Add memory guards, so
that we can see if/when memory is incorrectly overflown.
2009-02-11 Stef Walter <[email protected]>
* gcr/gcr-certificate-basics-widget.h:
* gcr/gcr-certificate-details-widget.h:
* gcr/gcr-certificate.h:
* gcr/gcr-import-dialog.h:
* gcr/gcr-importer.h:
* gcr/gcr-parser.h:
* gcr/gcr-simple-certificate.h:
* gcr/gcr-types.h: Add G_BEGIN_DECLS/G_END_DECLS to gcr headers.
2009-02-10 Xan Lopez <[email protected]>
Bug 571194 -G_BEGIN_DECLS/G_END_DECLS missing from headers
* library/gnome-keyring.h:
* library/gnome-keyring-memory.h:
Add G_BEGIN_DECLS/G_END_DECLS so the library can be used with a
C++ compiler.
2009-02-10 Stef Walter <[email protected]>
* gcr/gcr.pc.in: Correct pkg-config for the gp11 dependency.
2009-02-09 Stef Walter <[email protected]>
* pkcs11/gck/gck-module.c: Remove two useless unused class members.
* pkcs11/gck/gck-module.c:
* pkcs11/gck/gck-module.h:
* pkcs11/roots-store/gck-roots-module.c:
* pkcs11/ssh-store/gck-ssh-module.c:
* pkcs11/user-store/gck-user-module.c: Allow dynamically changing the
slot info and token info.
* pkcs11/roots-store/gck-roots-module.c:
* pkcs11/ssh-store/gck-ssh-module.c:
* pkcs11/user-store/gck-user-module.c: Set the serial numbers to something
more maintainable, since we use them for looking up passwords.
* daemon/pkcs11/gkr-pkcs11-auth-ep.c: Correlate state correctly between
prompt and done function.
* pkcs11/user-store/gck-user-module.c:
* pkcs11/user-store/gck-user-storage.c:
* pkcs11/user-store/gck-user-storage.h: Dynamically update the state which
allows us to prompt for a password for a new token.
2009-02-08 Stef Walter <[email protected]>
* pkcs11/gck/gck-data-der.c: Make output of RSA keys and PKCS8
more interoperable.
* pkcs11/gck/gck-transaction.c: Fix problem not deleting temporary
files after doing a transaction write.
2009-02-08 Stef Walter <[email protected]>
* daemon/gkr-daemon-ops.c:
* daemon/pkcs11/gkr-pkcs11-auth.c:
* gcr/gcr-importer.c: Add translator comments. Fixes bug #570529
2009-02-08 Stef Walter <[email protected]>
* daemon/data/gnome-keyring.schemas: Remove gconf schema for loading
of PKCS#11 modules. See mailing list.
2009-02-07 Stef Walter <[email protected]>
* pkcs11/gck/gck-certificate.c:
* pkcs11/gck/gck-certificate.h:
* pkcs11/gck/gck-module.c:
* pkcs11/gck/gck-private-key.c:
* pkcs11/gck/gck-private-key.h:
* pkcs11/gck/gck-public-key.c:
* pkcs11/gck/gck-public-key.h:
* pkcs11/user-store/gck-user-module.c:
* pkcs11/user-store/gck-user-private-key.c:
* pkcs11/user-store/gck-user-private-key.h:
* pkcs11/user-store/gck-user-public-key.c:
* pkcs11/user-store/gck-user-public-key.h: Create proper factories
for storable objects and certificate.
* gcr/gcr-importer.c: CKA_TOKEN is a CK_BBOOL not a CK_ULONG
* gcr/gcr-library.c: Setup automatically log into token, and pool sessions.
* pkcs11/user-store/gck-user-storage.c: Initialize fd members properly.
* pkcs11/user-store/gck-user-storage.c: Don't try to load objects that we add
to the store ourselves.
* pkcs11/user-store/gck-user-private-key.c: Properly initialize new token
private keys, so that they can be saved.
* pkcs11/user-store/gck-user-storage.c: Don't add a dash to the front of
the identifiers of stored objects.
2009-02-07 Stef Walter <[email protected]>
* gp11/Makefile.am: Fix problem with not distributing pkcs11.h
2009-02-07 Stef Walter <[email protected]>
* HACKING: Update after refactoring with new info about parts
2009-02-07 Stef Walter <[email protected]>
* common/Makefile.am:
* common/gkr-location.c:
* common/tests/Makefile.am:
* daemon/Makefile.am:
* daemon/gkr-daemon-dbus.c:
* egg/Makefile.am:
* egg/egg-dbus.c (moved from common/gkr-dbus.c):
* egg/egg-dbus.h (moved from common/gkr-dbus.h): Move the
general dbus code into our egg folder.
* common/gkr-daemon-util.c -> daemon/gkr-daemon-util.c:
* common/gkr-daemon-util.h -> daemon/gkr-daemon-util.h:
* common/Makefile.am:
* daemon/Makefile.am:
* daemon/gkr-daemon-dbus.c:
* daemon/gkr-daemon-io.c:
* daemon/gkr-daemon-ops.c:
* daemon/gkr-daemon-util.c:
* daemon/gkr-daemon-util.h:
* daemon/gkr-daemon.c:
* daemon/pkcs11/gkr-pkcs11-daemon.c:
* daemon/ui/gkr-ask-daemon.c: Move gkr-daemon-util code from
common into daemon since that's where it's used.
2009-02-07 Stef Walter <[email protected]>
* daemon/gkr-daemon.c:
* egg/Makefile.am:
* egg/tests/unit-test-symkey.c:
* gcr/gcr-library.c:
* pkcs11/gck/gck-crypto.c:
* egg/egg-libgcrypt.c: (added)
* egg/egg-libgcrypt.h: (added) Centralize the way that libgcrypt
is initialized from our code, so the different components don't
step on each other's toes.
2009-02-07 Stef Walter <[email protected]>
* configure.in:
* daemon/pk/*: (deleted)
* daemon/pkix/*: (mostly deleted)
* daemon/Makefile.am: Removed all old 'pkix' stuff since it's now
implemented in the modular gck components. Also remove most of the
'pk' stuff. Only leaving behind the last few things we need to
refactor.
* common/gkr-crypto.c: (deleted)
* common/gkr-crypto.h: (deleted)
* common/gkr-id.c: (deleted)
* common/gkr-id.h: (deleted)
* common/Makefile.am:
* common/tests/unit-test-unique.c: (deleted)
* common/tests/Makefile.am:
* daemon/gkr-daemon.c: Remove more unused code.
2009-02-07 Stef Walter <[email protected]>
* pkcs11/gck/Makefile.am:
* pkcs11/gck/gck-certificate-trust.c:
* pkcs11/gck/gck-certificate-trust.h:
* pkcs11/gck/gck-certificate.c:
* pkcs11/gck/gck-certificate.h:
* pkcs11/gck/gck-types.h:
* pkcs11/roots-store/gck-roots-certificate.c:
* pkcs11/roots-store/gck-roots-certificate.h:
* pkcs11/roots-store/gck-roots-module.c: Implement netscape trust
in roots-store, so that we can have Root CA certificates trusted
by NSS programs.
2009-02-07 Stef Walter <[email protected]>
* pkcs11/gck/gck-data-der.c:
* pkcs11/gck/tests/test-data/test-certificate-2.der: (added)
* pkcs11/gck/tests/unit-test-data-der.c: Enable key usage and enhanced
usage parsing, and build tests for them.
* pkcs11/gck/tests/test.asn: Fix MPI ASN.1 test
* gp11/pkcs11g.h:
* daemon/pk/gkr-pk-cert.c:
* daemon/pk/gkr-pk-netscape-trust.c:
* daemon/pk/gkr-pk-util.c:
* daemon/pk/tests/unit-test-pk-cert.c: Remove the trust bits since
they're very ambiguous and not necessary.
* pkcs11/user-store/gck-user-module.c: Call base class in login and
logout methods so all the sessions are marked with appropriate state.
* pkcs11/rpc-layer/gck-rpc-message.c:
* pkcs11/rpc-layer/gck-rpc-module.c: Use 64 bit integers when
transferring ulongs between module and daemon.
* pkcs11/gck/gck-attributes.c: Return -1 when an attribute buffer
was provided but too small. Correct according to PKCS#11.
* gp11/Makefile.am:
* gp11/pkcs11.h:
* pkcs11/Makefile.am: We should only have one pkcs11.h header.
* pkcs11/pkcs11.h: More fixes for 64-bit ulongs.
2009-02-07 Stef Walter <[email protected]>
* gcr/Makefile.am: Add GTK library dependency in libgcr.
See bug #570393
* pkcs11/gck/Makefile.am:
* pkcs11/roots-store/Makefile.am:
* pkcs11/ssh-store/Makefile.am:
* pkcs11/user-store/Makefile.am: Link libegg into gck where
it's actually used. See bug #568406
2009-02-07 Stef Walter <[email protected]>
* egg/egg-secure-memory.c: Fix problems with clearing
out entire memory block when allocating memory, and
then reallocating it.
* egg/tests/unit-test-secmem.c: Use more portable construct
for signifying invalid memory in a test.
* gp11/tests/unit-test-gp11-attributes.c: Fix problem not
specifying size correctly when using varargs in tests.
* gp11/tests/unit-test-gp11-slot.c: Don't use freed memory
in test.
* gp11/tests/unit-test-gp11-session.c: Use properly sized variable
to store handle in the test.
* gp11/tests/unit-test-gp11-object.c: Use varargs properly.
2009-02-05 Thomas H.P. Andersen <[email protected]>
* pkcs11/rpc-layer/gck-rpc-private.h:
* egg/tests/unit-test-symkey.c:
* egg/tests/unit-test-openssl.c:
* egg/egg-openssl.c:
* gp11/tests/gp11-test-module.c: Fix warnings from -Wold-style-declaration.
Fixes bug #570652
2009-02-02 Stef Walter <[email protected]>
* configure.in: Bump version number
=== gnome-keyring 2.25.90 ===
2009-02-02 Stef Walter <[email protected]>
* configure.in:
* NEWS: Release version 2.25.90
2009-02-02 Stef Walter <[email protected]>
* daemon/pk/gkr-pk-cert.c:
* daemon/pk/gkr-pk-import.c:
* daemon/pk/gkr-pk-object.c:
* daemon/pk/gkr-pk-privkey.c:
* daemon/pk/gkr-pk-pubkey.c:
* daemon/pk/gkr-pk-util.c:
* gp11/gp11-attributes.c:
* gp11/gp11-object.c:
* gp11/tests/unit-test-gp11-attributes.c:
* gp11/tests/unit-test-gp11-object.c:
* gp11/tests/unit-test-gp11-session.c:
* pkcs11/gck/gck-attributes.c:
* pkcs11/gck/gck-private-key.c:
* pkcs11/gck/gck-public-key.c:
* pkcs11/gck/gck-session.c:
* pkcs11/ssh-agent/gck-ssh-agent-ops.c:
* pkcs11/ssh-agent/gck-ssh-agent-proto.c:
* tools/gkr-tool-import.c: Fix more size problems when using constants
with varargs. Fixes bug #569736. Research by Christophe Fergeau
2009-01-31 Theppitak Karoonboonyanan <[email protected]>
* pkcs11/gck/Makefile.am: Fix rules to allow non-source-dir builds.
Fixes bug #569938
2009-01-30 Stef Walter <[email protected]>
* pkcs11/rpc-layer/gck-rpc-dispatch.c:
* pkcs11/rpc-layer/gck-rpc-module.c: Build fix. Patch by Saleem Abdulrasool
Fixes bug #568378
2009-01-30 Stef Walter <[email protected]>
* daemon/Makefile.am: Install autostart desktop files in /etc/xdg/autostart
Fixes bug #568754
2009-01-30 Stef Walter <[email protected]>
* daemon/keyrings/gkr-keyring.c:
* daemon/keyrings/tests/unit-test-keyring-file.c: Don't assert when
trying to lock a keyring without a password. Fixes bug #569253
2009-01-30 Stef Walter <[email protected]>
* gp11/gp11.h:
* gp11/pkcs11.h: Fix size problems when using constants
with varargs. Fixes bug #569736. Research by Christophe Fergeau
2009-01-30 Stef Walter <[email protected]>
* gp11/gp11.h:
* gp11/gp11-attributes.c: Use a more definite value for
our varargs termination. Fixes bug #569769
2009-01-30 Stef Walter <[email protected]>
* daemon/gkr-daemon-io.c:
* daemon/ui/gkr-ask-request.c:
* daemon/ui/gkr-ask-tool.c:
* pkcs11/gck/gck-data-file.c: Fix invalid checks for EINTR
and EAGAIN while reading and writing. Fixes bug #569786
Caught by James Henstridge
2009-01-28 Stef Walter <[email protected]>
* gcr/gcr-simple-certificate.c:
* pkcs11/gck/gck-data-der.c: Build fixes.
2009-01-28 Stef Walter <[email protected]>
* gcr/gcr.h:
* gcr/gcr.pc.in:
* gcr/gcr-certificate-basics-widget.h:
* gcr/gcr-certificate-details-widget.h:
* gcr/gcr-importer.h:
* gcr/gcr-parser.h:
* gcr/gcr-types.h:
* gcr/Makefile.am: Install appropriate header files
and fix the pkg-config file for the gcr library.
* gcr/gcr-certificate.c:
* gcr/gcr-certificate.h:
* gcr/gcr-simple-certificate.c: (added)
* gcr/gcr-simple-certificate.h: (added)
* gcr/tests/ui-test-details.c:
* gcr/tests/unit-test-certificate.c: Make GcrCertificate
an interface so that it can more easily plug into
various libraries.
2009-01-27 Stef Walter <[email protected]>
* egg/egg-asn1.c:
* egg/egg-asn1.h:
* egg/egg-hex.c:
* egg/egg-hex.h:
* egg/pkix.asn:
* egg/tests/unit-test-asn1.c:
* egg/tests/unit-test-hex.c:
* gcr/gcr-certificate.c: (added)
* gcr/gcr-certificate.h: (added)
* gcr/gcr-certificate-basics-widget.c: (added)
* gcr/gcr-certificate-basics-widget.glade: (added)
* gcr/gcr-certificate-basics-widget.h: (added)
* gcr/gcr-certificate-details-widget.c: (added)
* gcr/gcr-certificate-details-widget.h: (added)
* gcr/gcr-library.c:
* gcr/gcr-parser.c:
* gcr/Makefile.am:
* gcr/tests/Makefile.am:
* gcr/tests/ui-test-details.c: (added)
* gcr/tests/unit-test-certificate.c: (added) Add basic UI widgets for
displaying a certificate.
2009-01-22 Stef Walter <[email protected]>
* daemon/pk/gkr-pk-index.c:
* daemon/pkcs11/gkr-pkcs11-auth-ep.c: Fix compiler warnings.
2009-01-22 Stef Walter <[email protected]>
* common/gkr-crypto.c:
* common/gkr-crypto.h:
* common/tests/Makefile.am:
* common/tests/unit-test-crypto.c: (removed)
* daemon/Makefile.am:
* daemon/keyrings/gkr-keyring-binary.c:
* daemon/pk/gkr-pk-index.c:
* daemon/pk/gkr-pk-root-storage.c:
* daemon/pk/gkr-pk-session-storage.c:
* daemon/pkix/gkr-pkix-der.c:
* daemon/pkix/gkr-pkix-openssl.c: (removed)
* daemon/pkix/gkr-pkix-openssl.h: (removed)
* daemon/pkix/gkr-pkix-pem.c: (removed)
* daemon/pkix/gkr-pkix-pem.h: (removed)
* daemon/pkix/gkr-pkix-serialize.c:
* daemon/pkix/Makefile.am:
* daemon/pkix/tests/Makefile.am:
* daemon/pkix/tests/unit-test-pkix-openssl.c: (removed)
* daemon/ssh/*: (removed)
* daemon/ssh/tests/*: (removed)
* configure.in: Removed lots of unused code resulting from refactoring.
2009-01-22 Stef Walter <[email protected]>
* daemon/pkcs11/gkr-pkcs11-auth.c:
* daemon/pkcs11/gkr-pkcs11-auth.h:
* daemon/pkcs11/gkr-pkcs11-auth-ep.c:
* pkcs11/pkcs11g.h:
* pkcs11/ssh-agent/gck-ssh-agent-ops.c: Added ability to clear cached
authentication for an object. In addition made 'ssh-add -D' clear any
cached authentication for SSH keys. Fixes bug #568525
2009-01-21 Stef Walter <[email protected]>
* daemon/ui/gkr-ask-entry.c: (moved)
* daemon/ui/gkr-ask-entry.h: (moved)
* daemon/ui/gkr-ask-tool.c:
* daemon/ui/Makefile.am:
* egg/egg-secure-entry.c: (moved from daemon/ui/gkr-ask-entry.c)
* egg/egg-secure-entry.h: (moved from daemon/ui/gkr-ask-entry.h)
* egg/Makefile.am:
* gcr/gcr.h: (added)
* gcr/gcr-import-dialog.c: (added)
* gcr/gcr-import-dialog.glade:
* gcr/gcr-import-dialog.h: (added)
* gcr/gcr-importer.c:
* gcr/gcr-importer.h:
* gcr/gcr-internal.c: (removed)
* gcr/gcr-internal.h:
* gcr/gcr-library.c: (added)
* gcr/gcr-parser.c:
* gcr/gcr-parser.h:
* gcr/gcr-types.h:
* gcr/Makefile.am:
* gcr/tests/Makefile.am:
* gcr/tests/unit-test-parser.c:
* tool/gkr-tool.c:
* tool/gkr-tool-import.c:
* tool/Makefile.am: Complete importer in gcr library. Make 'gnome-keyring import'
use the new importer.
2009-01-20 Stef Walter <[email protected]>
* gp11/gp11.h:
* gp11/gp11-module.c:
* gp11/gp11-object.c:
* gp11/gp11-slot.c:
* gp11/tests/unit-test-gp11-module.c:
* gp11/tests/unit-test-gp11-object.c:
* gp11/tests/unit-test-gp11-slot.c: Add hash and equals functions for
PKCS#11 modules, slots, and objects. Allows them to be used in hash tables
and searches.
2009-01-20 Stef Walter <[email protected]>
* gp11/gp11.h:
* gp11/gp11-misc.c:
* gp11/gp11-module.c:
* gp11/gp11-private.h:
* gp11/gp11-session.c:
* gp11/gp11-slot.c: Expose looking up slot flags,
and a few other helpful functions.
=== gnome-keyring 2.25.5 ===
2009-01-19 Stef Walter <[email protected]>
* egg/Makefile.am:
* egg/tests/test.asn:
* egg/tests/unit-test-secmem.c:
* egg/tests/unit-test-symkey.c:
* egg/tests/test-data/test-certificate-1.der: (added)
* egg/tests/test-data/pem-rsa-enc.key: (added)
* gcr/Makefile.am:
* pkcs11/roots-sotre/gck-roots-module.c:
* configure.in:
* NEWS: Release version 2.25.5
2009-01-18 Stef Walter <[email protected]>
* gcr/tests/unit-test-parser.c: Fix build warning
2009-01-18 Stef Walter <[email protected]>
* egg/egg-asn1.c:
* egg/egg-hex.c: (split from pkcs11/gck/gck-util.c)
* egg/egg-hex.h: (split from pkcs11/gck/gck-util.h)
* egg/egg-openssl.c: (moved from pkcs11/gck/gck-data-openssl.c)
* egg/egg-openssl.h: (moved from pkcs11/gck/gck-data-openssl.h)
* egg/egg-symkey.c: (split from pkcs11/gck/gck-crypto.c)
* egg/egg-symkey.h: (split from pkcs11/gck/gck-crypto.h)
* egg/Makefile.am:
* egg/tests/Makefile.am:
* egg/tests/unit-test-asn1.c:
* egg/tests/unit-test-hex.c: (moved from pkcs11/gck/tests/unit-test-util.c)
* egg/tests/unit-test-openssl.c: (moved from pkcs11/gck/tests/unit-test-data-openssl.c)
* egg/tests/unit-test-symkey.c: (split from pkcs11/gck/tests/unit-test-crypto.c)
* gcr/gcr.pc.in: (added)
* gcr/gcr-internal.c: (added)
* gcr/gcr-internal.h: (added)
* gcr/gcr-marshal.list: (added)
* gcr/gcr-parser.c: (added)
* gcr/gcr-parser.h: (added)
* gcr/gcr-types.h: (added)
* gcr/Makefile.am: (added)
* gcr/template/*: (added)
* gcr/tests/Makefile.am: (added)
* gcr/tests/unit-test-parser.c: (added)
* gcr/tests/test-data: (copied from daemon/pkix/test/test-data)
* gp11/gp11.h:
* pkcs11/gck/gck-crypto.c:
* pkcs11/gck/gck-crypto.h:
* pkcs11/gck/gck-data-der.c:
* pkcs11/gck/gck-data-der.h:
* pkcs11/gck/gck-data-file.c:
* pkcs11/gck/gck-data-openssl.c: (moved)
* pkcs11/gck/gck-data-openssl.h: (moved)
* pkcs11/gck/gck-data-pem.c: (combined into egg/egg-openssl.c)
* pkcs11/gck/gck-data-pem.c: (combined into egg/egg-openssl.h)
* pkcs11/gck/gck-util.c:
* pkcs11/gck/gck-util.h:
* pkcs11/gck/Makefile.am:
* pkcs11/gck/tests/unit-test-crypto.c:
* pkcs11/gck/tests/unit-test-data-openssl.c: (moved)
* pkcs11/gck/tests/unit-test-util.c: (moved)
* pkcs11/roots-store/gck-roots-module.c:
* pkcs11/ssh-store/gck-ssh-openssh.c:
* pkcs11/user-store/gck-user-storage.c:
* configure.in:
* Makefile.am: Add new gcr library for crypto UI and related tasks. Implement
GckParser class.
2009-01-17 Stef Walter <[email protected]>
* egg/egg-asn1.c: (moved from pkcs11/gck/gck-data-asn1.c)
* egg/egg-asn1.h: (moved from pkcs11/gck/gck-data-asn1.h)
* egg/egg-buffer.c: (moved from common/gkr-buffer.c)
* egg/egg-buffer.h: (moved from common/gkr-buffer.h)
* egg/egg-secure-memory.c: (moved from common/gkr-secure-memory.c)
* egg/egg-secure-memory.h: (moved from common/gkr-secure-memory.h)
* egg/egg-unix-credentials.c: (moved from common/gkr-unix-credentials.c)
* egg/egg-unix-credentials.h: (moved from common/gkr-unix-credentials.h)
* egg/Makefile.am: (added)
* egg/pk.asn: (moved from pkcs11/gck/pk.asn)
* egg/pkix.asn: (moved from pkcs11/gck/pkix.asn)
* egg/tests/Makefile.am: (added)
* egg/tests/test.asn: (moved from pkcs11/gck/tests/test.asn)
* egg/tests/unit-test-asn1.c: (moved from pkcs11/gck/tests/unit-test-data-asn1.c)
* egg/tests/unit-test-secmem.c: (moved from common/tests/unit-test-secmem.c)
* egg/tests/test-data: (added) Consolidate truly common functionality into 'egg'
library. Many more files touched due to above changes.
2009-01-17 Stef Walter <[email protected]>
* configure.in:
* daemon/pkcs11/gkr-pkcs11-auth.c:
* pkcs11/gck/gck-data-file.c:
* pkcs11/plex-layer/gck-plex-layer.c: Build and warning fixes.
2009-01-17 Stef Walter <[email protected]>
* daemon/keyrings/gkr-keyring-login.c:
* daemon/keyrings/gkr-keyring-login.h:
* daemon/keyrings/tests/unit-test-keyring-login.c: Add functions for accessing
the 'master' login password.
* daemon/pkcs11/gkr-pkcs11-auth.c:
* daemon/pkcs11/gkr-pkcs11-auth.h:
* daemon/pkcs11/gkr-pkcs11-auth-ep.c: Support automatically initializing a token
when it doesn't have CKF_USER_PIN_NOT_INITIALIZED
* daemon/Makefile.am:
* daemon/pkcs11/gkr-pkcs11-daemon.c:
* pkcs11/Makefile.am:
* pkcs11/gck/gck-certificate.c:
* pkcs11/gck/gck-certificate.h:
* pkcs11/gck/gck-crypto.c:
* pkcs11/gck/gck-crypto.h:
* pkcs11/gck/gck-data-asn1.c:
* pkcs11/gck/gck-data-der.c:
* pkcs11/gck/gck-data-der.h:
* pkcs11/gck/gck-data-file.c: (added)
* pkcs11/gck/gck-data-file.h: (added)
* pkcs11/gck/gck-data-openssl.c:
* pkcs11/gck/gck-file-store.c: (removed)
* pkcs11/gck/gck-file-store.h: (removed)
* pkcs11/gck/gck-login.c: (added)
* pkcs11/gck/gck-login.h: (added)
* pkcs11/gck/gck-marshal.list:
* pkcs11/gck/gck-module.c:
* pkcs11/gck/gck-module.h:
* pkcs11/gck/gck-module-ep.h:
* pkcs11/gck/gck-serializable.c:
* pkcs11/gck/gck-serializable.h:
* pkcs11/gck/gck-session.c:
* pkcs11/gck/gck-session.h:
* pkcs11/gck/gck-store.h:
* pkcs11/gck/gck-transaction.c:
* pkcs11/gck/gck-transaction.h:
* pkcs11/gck/gck-types.h:
* pkcs11/gck/gck-util.c:
* pkcs11/gck/gck-util.h:
* pkcs11/gck/Makefile.am:
* pkcs11/gck/tests/Makefile.am:
* pkcs11/gck/tests/unit-test-crypto.c:
* pkcs11/gck/tests/unit-test-data-asn1.c:
* pkcs11/gck/tests/unit-test-data-der.c:
* pkcs11/gck/tests/unit-test-data-file.c: (added)
* pkcs11/gck/tests/unit-test-data-openssl.c:
* pkcs11/gck/tests/unit-test-file-store.c: (removed)
* pkcs11/gck/tests/unit-test-login.c: (added)
* pkcs11/gck/tests/unit-test-transaction.c:
* pkcs11/gck/tests/unit-test-util.c: (added)
* pkcs11/gck/tests/test-data/data-file-*: (added)
* pkcs11/gck/tests/test-data/der-pkcs8-*: (added)
* pkcs11/gck/tests/test-data/test-file-store.store: (removed)
* pkcs11/roots-store/gck-roots-module.c: