forked from privacyidea/privacyidea
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangelog
1547 lines (1318 loc) · 63.5 KB
/
Changelog
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
Version 3.7dev1, 2021-08-25
Features:
Enhancements:
* Allow resyncing of a token via Multi-Challenge (#2349)
* Token Handler can use the serial numbers of the tokens
during token import (#2698)
* Notification Handler now allows placeholders like "tokenowner" in reply-to. (#2711)
* LinOTP miration script now also works with PostgreSQL (#2770)
* consolidate client_wait in token enrollment. All tokens now
get the rollout_state "clientwait" or "enrolled" which can
be used in Token Handlers and in the token-janitor (#2784)
* The "orphaned" parameter of the token-janitor allows to use
0/False or 1/True to also search for non-orphaned tokens (#2838)
* Add more export/import functions to pi-manage (#2455)
Fixes:
* Make token-janitor robust against unknown chars in last_auth check (#2780)
* Fix the manual setting of U2F tokens, which was overwritten by an
automatic description (#2793)
* Improve parameter parsing and decoding (#2810)
* Fix policy import with missing "condition" keyword (#2829)
* Add failsafe to raise an exception on the lib level when trying to assign a token
to a user, if the token is already assigned. (#2860)
* Fix AD little endian in objectGUID
* Fix upper case realm names in policy check (#2869)
* Fix deleting expired auth_cache entries (#2481)
Version 3.6.2, 2021-07-22
Fixes:
* Fix LDAP Resolver for old Python versions like in CentOS 7 #2835
* Fix typo in pi-manage that breaks config restore #2829
Version 3.6.1, 2021-07-19
Fixes:
* Remove importlib-metadata from doc requirements
* Add a safe_store feature #2794
* Decode URL parameters for forms #2800
* Prepare ADFS subscription #2801
Version 3.6, 2021-06-07
Features:
* Add custom user attributes that can be managed within privacyIDEA #680
* Extended policy conditions can match on any token attribute #2590
Enhancements:
* Allow to use Push tokens without Firebase #2720
* privacyidea-cron allow to choose retry if action failed #1179
* UI: allow token rollover e.g. for smartphone swap #2613
* pi-manage: allow configuration export and import #2467
* Allow different PIN policies for different token types #2142
* UI: Search in policy description, not only in policy action #2574
* UI: Highlight found locations of search term in web UI #2577
* UI: Allow configurable entry point for custom web UI #2592
* UI: Add more descriptive tooltip to token when assigning to machine #2516
* Import AES mode yubikeys created with Yubico Personalization tool #2594
* token janitor can export arbitrary user fields #2569
* token janitor: CSV token export can either export hex or base32 encoded seeds #2648
* token janitor: CSV token export contains token owner #2664
* Remote Token can now be configured with a privacyIDEA configuration
instead of a distinct URL #2124
* Allow additional tags like {username} in SMS token #2677
* improve privacyidea-diag #2555
* auth_cache can now cache the credentials for a certain number of usages #1059
* Policy "add_user_in_response" also checks for user-realms #2642
* Stamp the database version automatically during installation #2708
* Audit Rotation is automatically added on new installation #1427
Documentation:
* Add note about SMS text formats #2151
* Rewrite Yubikey enrollment documentation #2318
Hardening:
* Replace ecdsa module with stable pyca module #2410
* LDAP resolver supports TLS 1.3 #2637
* Update dependencies / requirements #2570
* Choose more secure configuration defaults #2408
Fixes:
* Do not trigger disabled PUSH tokens #2723
* Configuration default truncate Audit log #2699
* Policy: Fix problems with extended policy conditions #2676
* UI: Remove table borders in list views #2585
* UI: Do not translate date in audit log #2579
* Remove deprecated oauth2client #1990
* Fix visibility of subscription for administrator #2609
* Remove non-existing getOTP from documentation #2636
* Remove undocumented and unused parameter aladdin_hashlib in token import #2634
* Fix visibility of token wizard #2632
* Create policy button is disabled if no scope is selected #1888
* Re-enable enroll button in case of error during token enrollment #2717
* Save fractions of seconds in the audit log #2706
* Fix pi-manage restore #2728
Version 3.5.2, 2021-03-23
Fixes:
* Add serial to the request object in /ttype/ endpoint (#2605)
* Fix missing audit entries missing_line and sig_check (#2627)
* Fix backup on Ubuntu 20.04 (#2646)
* Fix missing priority in policy import (#2643)
* Fix DB migrate URI if it contains char % (#2661)
* Fix long default POOLING_LOOP_TIMEOUT (#2662)
Version 3.5.1, 2021-01-28
Fixes:
* Fix DB migration script for update from prior of 3.3. (#2582)
* Fix the internal interface of container audit module (#2562)
* Add missing headers to /auth request (#2599)
* Fix tokeninfo value filter with Oracle db (#2602)
Version 3.5, 2020-12-22
Features:
* 4Eyes token uses multi challenge authentication (#2317)
* Require attestation certificate when enrolling
certificate token (#2152)
Enhancements:
* Tokens
* Allow to update firebase_token of a Push Token (#2436)
* Support WebAuthn tokens without sign_count (#2361)
* PSKC import now verifies the MAC of the token secrets (#2312)
* Configure length and contents of registration token via policy (#2284)
* The questionnaire token can now ask several questions from the list (#2137)
* Event handler:
* Choose SMS Gateway Identifier in Tokenhandler
when enrolling SMS token (#2506)
* Choose SMTP Identifier in Tokenhandler
when enrolling Email token (#2452)
* Increase or decrease failcounter in Tokenhandler (#2402)
* Allow to set maxfail counter in event handlers (#2541)
* Policies:
* Add extended conditions for tokeninfo (#1947)
* Web UI
* PIN can be changed with Challlenge Response when authenticating
at the WebUI (#2474)
* Hide some audit log columns for service desk users (#2372)
* Allow to configure a link to a policy statement/GDPR (#2325)
* Audit log now contains start time, end time and
duration of a request (#2254)
* The length of the audit columns to be truncated can be
configured in pi.cfg (#1756)
* Action grouping in scope authorization (#2438)
* Redesign welcome message for community version (#2397)
* Add usernames and serials of failed authentications
as shortlink into dashboard (#2475)
* Policy to add node name in the web UI (#1961)
* Make event conditions searchable (#2148)
* Align search layout in event conditions and policy actions (#2557)
* pi-manage: export resolver configuration (#1329)
* Documentation:
* Add note about SELinux and using non-standard ports (#2459)
* Explain sync_to_database for script handlers (#2450)
* Add documentation for RADIUS configuration (#2448)
Fixes:
* Allow equal signs in policy actions (#2494)
* Challenge Response is now checked independently on the presence
of a challenge in the database (#2491)
* Fix enrollment of two tokens using double click (#2487)
* Fix wrong (to few) number of authentication requests
in the dashboard (#2473)
* Allow setting an empty PIN in the UI (#2472)
* The dashboard only displays information, which an admin is
allowed to see, without throwing errors (#2456)
* Fix length of hashed password column in auth_cache table (#2446)
* Fix url_decode (#2345)
* Fix missing adminuser when importing policies (#2340)
* Hide browser autocomplete in user search field (#2292)
* Disable browser autocomple fields that clash with
search fields in the UI (#2401)
* Fix challenge response with multiple FIDO2 tokens (#2092)
Version 3.4.1, 2020-10-09
Fixes:
* Fix the deletion of the registration token (#2356)
* Add "messages" to JSON response in case of multi challenge
pin change (2346)
* Move from PBKDF2 to Argon2 for password hashes. Might want to
reset local admin passwords to use new hashing algo (#2412)
* Hide dashboard for normal users (#2384)
* Fix problem with missing templates in CA conncetor (#2374)
* Fix missing successful authentications in dashboard (#2394)
* Improve error handling in token janitor in case of
problematic user (#2405)
* remove PI_PEPPER and pyCrypto (#2409)
* only check for existing JWT algorithms (#2407)
* Use Argon2 for PINs and local admins (#2413)
* Fix error when logging in with REMOTE_USER (#2423)
* Use a secure way to compare strings to avoid
theoretical side channel attacks (#2415)
Version 3.4, 2020-09-08
Features:
* Add ScriptSMSProvider, that can send SMS through external
Gateways using arbitrary scripts (#2236)
* Add HTTP Resolver that can read users from web services
via JSON responses (#2083)
* Add a basic dashboard as start screen in the WebUI (#2177)
* Allow using dynamic 3rd party token classes (#2321)
* Allow multiple consecutive challenge responses for authentication
or tasks like changing the token PIN (#2361)
* PUSH token can communicate with privacyIDEA via polling
as fallback to Google Push Service or Apple Notification Service (#2262)
Enhancements:
* Allow deletion of validity period via UI (#2263)
* Remove marker for missing translations and allow to set a
custom marker (#2223)
* Add support for Python 3.8 (#2190)
* Allow hiding description field for users during
token enrollment (#2173)
* Improve error message during token import (#2073)
* Add Dutch translation (#2314)
* Allow application to choose tokentypes in
/validate/check and /validate/triggerchallenge (#2047)
* HTTPSMSProvider can now have header parameters in the
provider definition (#1963)
* Events
* Add failcounter as condition in event handlers (#2147)
* The script handler allows to sync the database before
running the script (#2293 #2302)
* Allow using user_obj in pre event handlers for
/auth event. (#2303)
* Policies
* Allow to define characters for set_random_pin policy (#2121)
* Add privacyIDEA nodes to policy condition (#2108)
* Add new authz policy action is_authorized to basically
allow or deny access (#2275)
* Allow ECDSA and other SSH key types (#2274)
* pi-manage can import tokens including HOTP token counter (#2285)
* Allow the token janitor to set tokenrealms (#2299)
* Use our general webauthn client component in the
privacyIDEA WebUI (#2273)
Fixes:
* Add missing audit data to container audit (#2264)
* Add tokeninfo failsafe for LinOTP migration script (#2253)
* Fix certain problems with the type of the userid
in SQL-Resolvers with Oracle DB (#2219)
* Fix default empty string problems with Oracle DB (#2218)
* Fix a policy issue that would require admin policies to
import tokens (#2209)
* Fix inconsistent enrollment templates. Have description
field for all tokentypes (#2208)
* Fix floating problems with multiple QR images in enrollment UI (#2175)
* Allow to edit realms without resolver priority (#2171)
* Fix empty (None) values in SQL Resolver connect string (#2271)
* Fix missing options parameter in RADIUS and REMOTE token (#2276)
* Use UTC for challenge timestamp (#1586)
* Fix exceeding max tokens when enabling a disabled token (#2215)
* split@Sign setting is also applied to REMOTE_USER (#1954)
* Fix privacyidea-diag and privacyidea-standalone to run with Python 3 (#1874)
* Fix possible recursion error in 4eyes token (#1892)
* Improve tests by fixing deprecation warnings (#2298)
* Clean up the code for /validate/samlcheck
* Fix censoring of Oracle connect strings (#2304)
* Treat unsupported WebAuthn attestation as None attestation (#2342)
* Fix admin/scope in import/export of policies with pi-manage (#2359)
* Fix url_decode (#2360)
* Fix token settings for Yubikey in UI enrollment (#2365, #2366)
Version 3.3.3, 2020-05-19
Fixes:
* Fix failing Challenge Response in WebUI (#2192)
* Add better logging for contradciting policy calls
* Case insensitive user check failsafe in policy matching (#2198)
Version 3.3.2, 2020-05-04
Fixes:
* Fix restricted audit log for helpdesk users (#2181)
Version 3.3.1, 2020-04-29
Fixes:
* Fix broken U2F support (#2157)
* Fix creation of PGP keys with pi-maange (#2165)
Version 3.3, 2020-04-06
Features:
* New token type: WebAuthn/FIDO2 token is initially supported by privacyIDEA (#1468)
* New token type: Indexed Secret token allows user
to authenticate with a pre-known secret that can be
initialized from the user store. (#1986)
* New Event Handler Module: Logging module enables custom event-driven logging (#1580)
Enhancements:
* Event Handler:
* The OTP token QR code can now be added not only inline but also as an attachment
to email notifications (#1226)
* Policies:
* Added a policy to define the allowed characters for PINs (#2051)
* Add policies to limit the number of destinct tokentypes per user (#1375)
* Improved distinction between the username of the administrator
and the username of the user. Add an admin username to policies. (#1867)
Thus allowing:
* User attribute conditions in admin policies
* default settings for hashlib and otplen for HOTP and TOTP token
and default timestep for TOTP token can now be dependent on
admin user and for which user the admin does the enrollment
* Enrollment settings for push tokens can distinguish better
between admin users and user
* Random PIN settings can be user dependent
* WebUI
* Added the option to filter tokens by tokenrealm (#545)
* Prior to enrollment of soft tokens, such as HOTP, TOTP and PUSH the user is
offered with a QR codes to direct him to the Authenticator App stores (#1919).
* Adding version hashes to WebUI components to avoid working with outdated
templates (#1871)
* Updated bootstrap and AngularJS (#830)
* Rework policy matching (#1691 #2024 #2038)
* Documentation
* The documentation was restructured and updated (#1967 #1981 #1504 #2049 #2089 #2090).
* Tools
* Added a migration script to update the database schema from 2.23.5 to 3.2.2 (#2040)
* Misc
* Added the remote serial to the tokeninfo of a remote token to better track
authenticated devices (#2031)
* Use dictConfig instead of fileConfig to read configurations (#2059)
* Support logging configuration file in YAML format (#2080)
* Support custom audit logger names (#2106)
Fixes:
* Fix unauthorized statistics view (#1238)
* Fix a bug which caused an exception during PSKC key file container import (#1915)
* Fix link on privacyIDEA logo in the WebUI when no user is logged in (#1944)
* Updated CA files in testdata which were about to expire (#1960)
* Fix API endpoints to avoid redirects (#1999)
* Fix url_decode padding before it could cause any issues (#2000)
* Initialize rtype in user_object correctly (#2007)
* Fix an inconsistency of start_tls with postgres SQL (#2025)
* Fix wrong type splitting of questionnaire token (#2026)
* Fix a bug which could cause missing audit entries when using the
ContainerAudit module (#2029)
* Fix a bug which prevented defining an SQL resolver without a password (#2030)
* Fix missing "position" argument on event import with pi-manage (#2036)
* Fix timing issues in tests (#2041)
* Fix documentation (#2049)
* Fix sorting token table by column (#2111)
Version 3.2.2, 2020-01-17
Fixes:
* Fix Popen calls like with pi-manage backup restore
* Fix retrieving the correct database for restore (#1993)
* Fix caconnectorread policy (#1994)
Version 3.2.1, 2019-12-30
Fixes:
* Fix the wording and translation of the lost token scenario
Version 3.2, 2019-12-02
Features:
* New Event Handler: RequestMangler to modify request attributes (#1810)
* New Event Handler: ResponseMangler to modify the response data (#1138)
* New Audit Module to write to a file (#1072)
* New Container Audit Module to write to several audit modules at once (#1072)
* Applications can use the API with predefined asymmetric JWT (#1773)
Enhancements:
* Authentication:
* Add endpoint /validate/polltransaction for an improved workflow
for out-of-band challenges-responses like PUSH token (#1838)
* Allow registration token to work as challenge/response (#1897)
* RADIUS token also uses timeout and retries (#1931)
* Improve the handling of splitAtSign, so that a multi-realm
setup will be more consistent (#1808)
* Use authentication and authorization policies also for the
/auth endpoint (#1722, #1537)
* Policies and events:
* Allow HTTP AGENT and any arbitrary HTTP header in extended policy conditions (#1425)
* Allow HTTP AGENT as condition for event handlers (#1260)
* Event Handlers can match for the rollout_state (#1801)
* Add write-to-file action to the notification handler (#717)
* Allow user endpoints to trigger events (#1822)
* Management:
* Allow help desk to trigger a token PIN reset without actually seeing the PIN (#1196)
* Allow "file:" syntax in email notification handler (#1939)
* Allow more sophisticated Proxy settings for the OverrideClient settings (#1868)
* LinOTP migration script to work with LDAP mixed endian notation (#1883)
* triggerchallenge also writes the serial of the triggered token
to the audit log (#1862)
* Allow a dash ("-") in policy names (#1813)
* The token janitor can return a list of users with tokens (#1705)
* Restrict OTP length, hash and timestep also in admin policies (#1566)
* User experience:
* Clean up event handler view and put handler and
position in extra columns (#1920)
* Improve the serial number checking for disallowed characters (#1826)
* The event handler list can be sorted and filtered (#1818)
* The policy list can be sorted and filtered (#1817)
* Show disallowed policy name characters in the UI (#1674)
* Ask before deleting a hardware token (#954)
* Performance:
* Improve performance by reading event handlers only if the
configuration has changed (#1823)
* Store statistics data like event counters per node to improve
HA and replication performance (#1819)
* Improve performance of the pre-auth event handler (#1686)
Fixes:
* Delete entries from database tables, when the parent object
is deleted (fixed for machineresolverconfig, resolverconfig,
eventhandleroption) (#1927)
* Comply to new pyredis parameters for apache auth module (#1925)
* Fix filename parameter of HostMachineResolver (#1912)
* Fix JSON content detection for endpoints like /validate/radiuscheck (#1850)
* Fix integer UID with PostgreSQL databases (#1825)
* Make the policy creation at the command line with pi-manage more
consistent (#1807)
Version 3.1.2, 2019-11-15
Fixes:
* Fix the missing phone number field for SMS token, when a user
wants to enroll an SMS token. (#1929)
Version 3.1.1, 2019-09-25
Fixes:
* Fix the wrong token_type key in the audit log which caused the tokentype
to not be contained in the audit (#1846)
Version 3.1, 2019-09-04
Features:
* Allow user attributes in policy conditions (#1645)
* Assign tokens and set old PIN during migration (#1619)
* Admins can only see tokens within the realm they are allowed to manage (#1713)
**Note**: During update a policy "pi-update-policy-b9131d0686eb" is added, which
gives admins the previous read rights on tokens.
* Add adminread policies for policies, events, resolvers, system, machineresolvers,
smtpserver, radiusserver, privacyidea server, periodic tasks, smsgateways. (#1495)
**Note**: During update a policy "pi-update-policy-3d7f8b29cbb1" is added, which
gives read rights to all admins to provide backward compatibility
Enhancements:
* Authentication and Challenge Response:
* RADIUS token supports a single AccessChallenge with the remote RADIUS server (#1790)
* Improving Push token performance by reusing still valid access token (#1795)
* Improving TiQR token: It returns the remaining attemps after a wrong PIN is given (#1777)
* Improving TiQR token: Make TiQR info URL configurable (#1782)
* Enhance validate check logic in regards to serials and user names (#1768)
* User may now have several TiQR tokens at the same time (#1739)
* Do not increase fail counter when *checking* for an answered challenge (#1697)
* Allow additional token specific checks when answering challenge response (#1695)
* Endpoint GET /token/challenges also takes transaction_id (#1689)
* Push token can delay the response of /validate/check, so that there is no need
to query the server to check if the push notification has been answered (#1583)
* User experience:
* Improve user experience when enrolling Yubikeys via ykpersonalize - Automatically
removing whitespaces (#1735)
* Allow user to change the token description (#1717)
* Customize Web UI page title (#1624, #1243)
* *search_on_enter* also applies to audit log (#1493)
* Allow a welcome message in the Web UI if the user has no token (#1074)
* Do not display token configuration hints in the UI to normal users (#1789)
* Management:
* Event handlers allow rollout_state as condition (#1801)
* Add script to export OTP counters (#1728)
* Allow many additional tags in email notifications: serial, user, givenname,
surname, username, userrealm, tokentype, recipient_givenname, recipient_surname,
time, date (#1703)
* Improve diagnostics script by adding SQLAlchemy URL (#1667)
* Add resolver conditions to several policy checks (#1646)
* /auth entries in the audit log now also fill in resolver and serial (#1593)
* `pi-manage backup` also backs up the FreeRADIUS configuration (#1575)
* Allow event handlers on /auth endpoint (#1567)
* Allow to force a PIN on tokens in the privacyIDEA Authenticator App (#1295)
* New policy *max_active_tokens_per_user* (#1241)
* Add image url to the otpauth QR code, allow images in e.g. FreeOTP (#1228)
* Add MAC to PSKC token export (#1663)
* Performance:
* Make the serverpool in LDAP resolver persistant improving redundancy performance (#1396)
Fixes:
* Improve the stability of the schema-update-script (#1760)
* Rearrange update order in migration scripts (#1733)
* Adapt privacyidea-token-janitor to run with the TokenOwner table (#1709)
* Reordering decorators and policy checks to avoid unnecessary error messages (#1751)
* Fix user enrollment for tokens that require certain read rights for RADIUS and
certificates by adding additional endpoint /system/names/... (#1749, #1748)
* Use same transaction ID for all user tokens even with a TiQR token (#1723)
* Improve challenge response to also check the matching of the transaction ID
right at the beginning (#1699)
* Add event API requests to Audit log (#1600)
* Fix configuring pre-eventhandler with empty condition makes authentication fail (#1658)
* Improve UI by changing the cursor on all clickable elements (#1725)
* Web UI: Focus the filter entry field in tables, when the filter is activated (#1661)
* Fix some broken links in UI (#1610)
* Fix double listing in policy list (#1132)
* Remove additional empty line in audit log in case of an error (#1707)
* Fix enrollment of certificate tokens under Python 3 (#1799)
Version 3.0.2, 2019-06-17
Fixes:
* Fix creation of table tokenover and update with PostgreSQL DB
* Fix user assignment migration with non-ascii characters in userid
Version 3.0.1, 2019-05-23
Fixes:
* Fix PUSH token issues:
* Add logic checking to setup of PUSH token (#1592)
* Remove double enrollment notification of PUSH token in WebUI (#1598)
* Fix to allow spaces in Firebase configuration (#1599)
* Add support for iOS Firebase configuration (#1608)
* Fix to allow PUSH token enrollment, even with Label-policy (#1589)
* Fix to mark PUSH token challenge answered in the database (#1584)
* Fix the validity period of the registration token (#1587)
* Beautify the vertical alignment in the Web UI top menu (#1559)
* Fix user cache configuration read - defaults to 0 (#1596)
* Remove links in audit log for normal users (#1497)
* Check UI rights for user resolvers (#1496)
* Fix placeholder in realm dropdown in login dialog (#1498)
* Fix enckey creation in Python 3 (#1594)
* Allow the usage if "browserLanguage" in custom templates (#1620)
* Open all accordions when searching for policy action (#1558)
* Fix to hide support links also in menu (#1626)
Version 3.0, 2019-04-10
Features:
* Add Push Token that receives a Firebase push notification and allows login
by confirming this notification. Works with privacyIDEA Authenticator. (#1342)
* Add a queue to offload certain tasks from the original request.
Allow sending emails via queue. (#1290)
* Add API to write your own statistics-DB-module to be able to write
to a time series DB (#1289)
* The matching policies per request get written to the audit log (#874)
* Support Python 3 (#676)
Enhancements:
* Enhance challenge response text, allows headers and footers and HTML
in the challenge text (#1384)
* Event Handlers may now depend on the user and IP address (#1435)
* Improve documentation about customization (#1377)
* Allow to use the client IP from X-Forwarded-For for all endpoints (#1399)
* The otp-counter-condition for event handlers can also match greater
than and less than (#1383)
* Allow a token to use another SMS gateway than the default (#1358)
* The policy "reset_all_user_tokens" will also work with challenge response (#1348)
* Create more readable temporary token passwords based on base58. (#1325)
* Allow support button in the UI to point to more sensible locations (#1331)
Fixes:
* Update LDAP3 dependency to 2.6 and fixes broken objectGUID (#1526)
* Allow tokentype endpoints /ttype only for the specific tokentypes (#1528)
* When logging in to the webui the client IP is only determined by
X-Forwarded-For if the original (REMOTE_ADDR) is allowed to overwrite the client ip.
(Side effect of #1392)
* Remove submodules/authmodules from git repository and from base package (#1516)
* Allow userid as integer in SQLResolver (#1513)
* Fix revocation of certificates (#1510)
* Fix manual resync of TOTP token (#1479)
* Fix audit log entry if token resync fails (#1416)
* Fix authcache to actually *write* values to the authcache (#1386)
* Fix UI language determiniation in IE (#1379)
* Fix tokenjanitor which sometimes did not delete all matching tokens (#1322)
* Fix bug in two step enrollment (#1347)
* Do not pass LDAP service account credentials in GET /resolver (#1271)
* Redirect to login page in case of missing authorization header (#1326)
* Respond with 404 if a non-existing object (like deleting event handler)
is accessed (#817)
* fix setrealm policy not to fail, if the original user does not exist (#1205)
* Optimize hidden SQL queries (#1457)
* Improve installation process and schema migration by initially stamping
the database (#1489)
Redesign:
* Remove flask imports from libs to make code more modular (#331)
* Making Token-User relation an n:m relation by moving the token assignment
into its own database table. This will allow to assign several users to
one token (#1288)
* Unify password hashing in SQLResolver by using passlib (#1372)
* Redesign the cryptolayer and replace pycrypto with cryptography (#1340)
* Remove the old statistics, that were based on the audit log in favour
of the generic event handler based statistics (#1314)
* Deterministic installation with pinned dependencies on all distributions (#1127)
Version 2.23.5, 2019-03-04
Fixes:
* Fix authcache
* Fix correct syncwindow for manually resyncing TOTP tokens
Version 2.23.4, 2019-02-06
Fixes:
* Make triggerchallenge HTTP response consistent
* Add tokentype and message to response of triggerchallenges
* Allow concurrent challenges
* Fix accepted-language to support _only_ de-DE.
* Avoid user resolving in event handler condition
* Point the support button to better landing pages
Version 2.23.3, 2018-10-26
Fixes:
* Performance: avoid using wildcard serials in functions like
get_tokens, get_realms_of_token and copy_token
* Performance: avoid reload of static configuration
* Performance: Clean up LDAP cache, so that it will not grow to big and
further LDAP cache usage optimization (#1246)
* Performance: Make signing the audit log configurable (#1262)
* Performance: Make the auth counter per token configurable (#1262)
* Performance: Fix HSM auto recovery after an HSM failure and make
MAX_RETRIES configurable (#1278)
* Fix the double get requests of challenges in the UI
* Auditlog now honors the admin realm in the policies (#1244)
* Fix description of realm dropdown policy (#1245)
* Allow token janitor to use chunk sizes
* Allow Audit rotation to be performed in chunks to avoid deadlocks.
* Improve documentation about required and optional parameters in
the SQL Audit module.
* Cast userid to string to avoid casts problems with PostgreSQL
* Update pyopenssl dependency.
Version 2.23.2, 2018-09-07
Fixes:
* Fix problem with empty username (#1227)
Version 2.23.1, 2018-09-06
Fixes:
* Fix PassOnNoUser in combination with event handler (#1206)
* Fix loading of Event handler detail view (#1210)
* Fix Challenge-Response login at Web UI (#1216)
* Fix triggerchallenge to only use active tokens (#1217)
* Write all installed package to diagnostics file and
also write the resolver config in privacyidea-diag
Version 2.23, 2018-08-29
Features:
* Add periodic tasks including a privacyidea-cron script. (#992)
* Add task module "Simple Stats" to generate time series of certain
important statistics values in privacyIDEA (#1105)
* Add task module "Event Counter" that allows to create time series of
any arbitrary event. (#1029)
* New token type: TAN list, that can also import a prefefined
list of TANs (#1057)
* Add Event Handler Pre-Handling, that e.g. allows for
even more easy token enrollment concepts (#747)
Enhancements:
* Improve performance by adding SQL pooling for SQL Audit
and SQL Resolvers. (#1167, #1140)
* Improve SQL Resolver to also verify bcrypt-hash passwords (#1172)
* Allow multiple WHERE conditions in SQL Resolver (#1039)
* Allow objectGUID as loginname in LDAP resolver for better
ownCloud support (#1076)
* Add command in pi-manage to dump audit log information (#1120)
* Add script to allow generation of AES keys on HSM (#1159)
* Improve recovery mechanism from a lost HSM connection (#1069)
* Improve Debug Logging to hide passwords in SQL connect strings (#1162)
* Add script for easy privacyIDEA standalone setup (#1093)
* ldap3, pyasn1, croniter updated in Ubuntu Launchpad repo (#1085)
* Add a script that easily gathers support and diagnostic information (#829)
* Add event handler management to pi-manage (#1119)
* Allow to customize the challenge text for challenge response tokens (#1096)
* Add user information to OATH CSV token import file (#998)
* Improve migration scripts from LinOTP to also update counter values (#1075)
* Add priority to policies to avoid contradicting policies (#1031)
* The token event handler now can delete tokeninfo (#988)
* Make the import of OATH CSV token specific, so that each
tokentype can define its own import strategy (#1066)
* The Event Counter module now allows to decrease the counter (#991)
* Allow time deltas to also contain seconds (#1033)
Fixes:
* Allow to use unicode passwords with non-ascii characters for the
connect string in SQL Resolvers (#1181)
* Fix problem that a wrong password hash was used, if user is created
in SQL Resolver (#1114)
* Fix performance issue with slow token listing (#1123)
* Fix the QR code regeneration if the user already has the maximum number
of allowed tokens (#1153)
* Fix problem with privacyidea-pip-update in case of pip version 10 (#1128)
* Fix problem if max_token_per_user was higher than 9 (#1117)
* Fix hash algorithm in QR Code (#1088)
* Set focus in username field in the login dialog (#205)
* Fix disappearing scrollbar issue (#1020)
* Fix import of SHA256 tokens (#1061)
* Convert string values to unicode in the database model to
avoid misleading "error" messages (#1000)
* Fix truncation of audit log in case of authentication failure (#1034)
* Shorten audit information to fit into the database column (#1037)
* Fix the RADIUS configuration test (#1042)
Version 2.22.1, 2018-04-20
Fixes in WebUI:
* Allow to display the messages of several C/R tokens (#995, #1004)
* Use ng-if instead of ng-show to avoid errors in the javascript console (#963)
* Remove reference to not-used system.addons.js to avoid errors in the javascript console
* Remove reference to not-used system.addons.html to avoid errors in the javascript console
* Use ng-src instead of src to avoid errors in the javascript console
* Avoid request to /false is image is not existing - avoid error in the javascript console
* Fix handling of U2F token in the WebUI login
* Require serial number in the assignment form (#1011)
* Fix PIN comparison in token enroll and token assign (#1010)
* Fix the empty username in token enroll or assign (#918)
Fixes in Server:
* Add check for serial number present (#1011)
* Fix validation of OCRA and TiQR token (#1008)
* Add retry to cope with HSM issues (#1003)
* Fix unicode in resolverconf database table with Oracle (#999)
Version 2.22, 2018-03-27
Features:
* Add automatic offline refill for Offline OTP tokens (#839)
* Return realm and resolver of the user and allow mapping
group membership to the RADIUS protocol (#896)
* Add new tokenkind (hardware, software, virtual) for all tokens (#828)
* Support Vasco tokens via Import and via Web Enrollment (#904, #903, #891)
* Add arbitrary tokeninfo field to authorization policy (#873)
* New SMPP SMS provider (#878)
* New event handler Counter for counting events for statistics and monitoring (#951)
Enhancements:
* Enhance the statistics possibilities in WebUI (#950)
* Allow reencryption of the database by importing PSKC to
a new database (#940)
* Allow token janitor to export "PW" token type to PSKC (#942)
* Also export and import the counter values of HOTP/TOTP to PSKC (#943)
* SMS token can dynamically read phone number from user source (#932)
* Email token can dynamically read email address from user source (#932)
* Add policy to ignore the validity of a U2F attestation certificate (#926)
* Improve the speed of the LinOTP migration script to cope with tens of
thousands of tokens (#914)
* pi-manage can create API tokens with a chosen validity time (#931)
* Allow user to set token description for HOTP and TOTP tokens
during enrollment (#928) (Thanks to Taylor Chase for this contribution!)
* Add timeout to SMTP server configuration (#919)
* Allow complex email templates for email tokens (#684)
* LDAP resolver now supports arbitrary multivalue attributes (#881)
* Allow Event Handler to match failing authentication (#971)
Fixes:
* Several fixes in LDAP resolver to cope with ldap3/pyasn1 version issues and
other issues (#911, #980, #982, #887)
* Skip misguiding LDAP error "AttributeError NonType" in log file (#948)
* Add missing validity time in /validate/check response for email tokens (#946)
(Thanks to Kleber Rocha/klinux for this contribution!)
* Fix the handling of the SMS expiration date (#937)
* Fix serial length in the audit table to match the serial length in the token table (#929)
(Thanks to Salvo Rapisarda for this contribution!)
* Fix Mail content sent by email token is rendered as attachment (#915)
* Fix Editing SMTP Server definition clears the password (#923)
* Fix pi-manage backup crash (Thanks to Pavol Ipoth for this contribution!)
Version 2.21.4, 2018-01-24
Fixes:
* HTTP Timeout of HTTP SMS Gateway (#889)
* Remove console.log from webui
Version 2.21.1, 2018-01-09
Fixes:
* Allow to use TLS1.1 and TLS1.2 for LDAP Resolver (#876)
Version 2.21, 2017-12-20
Features:
* Allow export of tokens to PKSC file (#790)
* Implement two-step enrollment of HOTP/TOTP tokens (#797, #863, #865, #866)
* Allow WebUI customization via policies (#795)
Enhancements:
* Add script to decrypt safeword tokens
* Allow using tags in the tokenissuer of smartphone tokens
* Try to re-establish lost HSM connections (#787)
* Allow to rotate audit log based on multiple conditions (#780, #833)
* Add dry-run option to audit log rotation (#801)
* Allow dots in realm names (#808)
* Mark empty but required fields in WebUI (#810)
* Display success information after PIN is set (#822)
* Add further tags to the user notification event handler (#824)
* Add number of users to the subscription view (#800)
* Add HTTP/HTTPS proxy settings to HTTP SMS Provider (#835)
* Federation Handler allows to forward the authorization token (#838)
* Use token janitor to export a user list (#852)
* Use HSM for random key generation if possible (#783)
* HTTP SMS Provider now takes TIMEOUT parameter into account
* Allow to configure length of generated serial numbers (#583)
Fixes:
* Fix handling of only_realm option in token event handler (#809)
* Fix scrollbar issues in WebUI (#806, #823)
* Fix OTP counter of offline token (#840)
* Fix conflicts between check_tokentype and passthru policies (#846)
* Properly reset tab tile after session has been locked (#850)
* Fix handling of fixed key size during enrollment (#820)
* Make sure that only active policies are honored (#825)
* Fix various bugs with non-ASCII data (#754)
* Fix failcounter_clear_timeout (#831)
* Only remove apache host definitions on first installation (#834)
Version 2.20.1, 2017-10-30
Fixes:
* /token/init allows to pass otpkey AND genkey=false (#793)
* Cast date to string, to fix audit search for postgresql (#786)
* Optimize the LDAP Resolver Redundancy to avoid LdapServerPoolExhaustedErrors (#802)
* Preset default realm in token enrollment (#804)
* Fix PassOnNoUser and PassOnNoToken (#798)
* Fix genkey=0 error during token enrollment (#793)
Version 2.20, 2017-09-27
Features:
* New Token-Type OCRA and DisplayTAN to support
transaction signing for online banking (#767)
* Federation Handler allows to forward authentication
requests and other REST API requests to a child
privacyIDEA system (#711)
* Improved Subscription Handling
* Allow to login with multiple loginnames (#713)
* Authentication Cache policy (#729)
Enhancements:
* !!!NOTE!!! following policies now also honor the resolvers,
which they did not previously:
(AUTH, challenge_response), (AUTH, otppin),
(AUTHZ, auth_max_success), (AUTHZ, auth_max_fail),
(AUTHZ, last_auth), (WEBUI, login_mode),
(ENROLL,losttoken_pw_contents), (ENROLL,losttoken_validity),
(ENROLL, losttoken_pw_len) (#736)
* User can regenerate the QR Code during enrollment
of smartphone app (#766)
* Administrator can define remote privacyIDEA servers
centrally (#711)
* Events can now be ordered. This is important for the
federation handling (#711)
* Specify the hash algorithm that is used to save
SQL users passwords (#745)
* Add welcome dialog for administrator (#716)
* Allow creating oracle DB (#752)
* Event Handler can use timestamps and time offsets in
conditions (#741)
* Use challenge/response token to unlock the screen of
the web UI (#702)
* Support multiple challenge/response token at the same
time (#722)
* GPG keys are generated during package installation and
show the GPG key in the import dialog (#742)
* Failcounter clearing timeout in UI (#719)
* Allow to send challenge data (like banking transaction) in
email text and SMS text.
Fixes:
* Set default loglevel from DEBUG to INFO (#765)
* Fixed PIN logging, which could lead to exceptions
* Fixed unicode handling in log messages
* Make LDAP Resolver work with utf8 (#738)
* User can only choose hash algo according to policy (#723)
* Add time period 30/60s to rollout URI (#744)
* Fix deprecation warning for flask_migrate (#734)
* Allow multiple tries for challenge/response (#708)
* Fix problem with certificate serial number (#737)
Version 2.19.1, 2017-07-02
Enhancements:
* Add "pi-manage policy load" and "pi-manage policy export". (#721)
* Allow customization via pi.cfg file.
* Add {username} and {realm} as tags for the tokenhandler. (#735)
Fixes:
* Fix pi-manage file permission for backup
* Fix search for resolver in audit log
* Allow to read old legacy time from validity period
* Fix wrong enddate with lost_token
* Fix typos
* Improve documentation for yubikey
* Improve documentation for cache decorator
* Improve documentation for webui policy
Version 2.19, 2017-05-25
Features:
* Add generic User Cache to speed up authentication (#670, #683)
* Support multiple challenge-response tokens with the same PIN (#654)
* Restrict U2F registration based on assertion certificte (#648)
* Restrict authentication with U2F devices based on assertion
certificate (#648)
* Add privacyidea-token-janitor script, that can clean orphaned or
expired tokens (#692)
* Add API for mutual key generation during enrollment for easy
Smartphone App development by introducing a generic
2-step-rollout process (#627)
* Add /validate/radiuscheck which works with rlm_rest and only uses
HTTP return codes. (#703)
Enhancements:
* Allow to unset token validity period and other tokeninfo
fields (#691)
* Add a quick-resolver test for LDAP resolvers (#688)
* Add additional tokeninfo tags {client_ip}, {ua_browser},
{ua_string} in token handler (#687)
* Allow to set decription of U2F tokens during enrollment (#685)
* Reduce the number of LDAP requests to increase authentication
performance (#664, #655, #650)
* Realm administrator is only allowed to see actions on this allowed
user realms (#663)
* Add audit rotation to pi-manage (#657)
* Speed up Audit Log calls by adding a second index (#656)
* Allow to either lock und logout the UI after timeout (#653)
* Allow string format {user}, {realm}, {serial}, {surname} in
tokenlabel policy (#646)
* Move to a consistent time format for validity period and all other
user specific times also containing the timezone (#644)
* Add TLS certificate check to LDAP machine resolver (#638)
* Make TLS certificate the default option in LDAP resolvers (#639)
* Allow to use privacyIDEA ownCloud App without subscription
file with up to 50 users.
Fixes:
* Fix the datepicker for the token validity period (#644 / #693)
* Fix LDAP resolver to respect all boolean configuration
options (#658)
* Fix serial number in challenge response validation response (#649)
Commits added in version 2.19 by:
(In the order of appearance)
* Cornelius Kölbel
* Quynh Nguyen
* Friedrich Weber
* Quoc Doan
* blinkiz
* Bernd Nicklas
Version 2.18, 2017-03-09
Features:
* Allow to disable the WebUI (#605)
* The WebUI will lock the screen after a timeout instead of
logging out the user. This allows to easily continue
configuration work. (#621)
* Improve the creation and handling of local CAs (#630, #632, #633)
Allow certificate template for certificates with different runtime
and x509v3 extensions.
Enhancements
Enhancements in Policies:
* Allow regular expressions in usernames in policies. (#581)
* Improve Policy creation with pi-manage from JSON formatted file.
* WebUI: Add action grouping in policies.
* WebUI: Add action filter in policy view.
* Allow token specific PIN policies: The SPASS token can now
have dedicated PIN policies.
* Add PIN policies for administrators during enrollment and
during assignment.
* Add WebUI policy: only search on enter being pressed (#617)
Enhancements in Event Handlers:
* Add token_validity_period condition to event handlers. (#618)