-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathNEWS
1061 lines (761 loc) · 38 KB
/
NEWS
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
CPSA NEWS -- history of user-visible changes.
* Changes in version 4.4.5
** Fixed a strand map bug in 4.4.4.
** Eliminated redundant occurrences of the same children in some executions.
** Added the programs cpsa4db and cpsa4dbprolog to generate Prolog representations
of the content of CPSA runs. See cpsauser.html.
** The cpsa4prolog program has been removed and replaced with cpsa4db and cpsa4dbprolog.
That combination provides all the functionality of cpsa4prolog and
much more.
* Changes in version 4.4.4
** We corrected a significant bug in the handling of absence
assumptions in Diffie-Hellman. As a consequence, CPSA pursues
analysis paths that were previously discarded.
** We eliminated DH variables of sort base. These are logically
superfluous, because expt variables can specify exactly the same
cases, and they require similar code to handle delicate conditions,
the absence assumptions being an example.
** We modified the way skeletons are printed to be more explicit
about many properties of the skeletons and the operations that
connect them. In particular, strand-maps are now printed, so that
it is easy for other programs to determine the homomorphisms
between skeletons in the analysis process. Information is also
available on the operation that leads from a skeleton to another
when the latter is one of its already-seen children.
** The test directory has now been updated with much better DH test
files. Long-running tests have been gathered in the tst-harder
subdirectory.
** The manual has been updated to reflect the removal of variables
of DH base sort. It also now explains the relation between unique
origination and unique generation better, among other improvements.
** the new program cpsa4prolog now generates a prolog file with much
information about a whole CPSA analysis run. Further programs will
offer tighter results.
* Changes in version 4.4.3
** Added the cpsa4query program which loads CPSA output and a query.
It assembles the skeletons in the output into a forest of
derivation trees. It then runs the query against the selected
trees in the forest and returns the labels of the skeletons that
satisfy the query.
** Added cpsa4debranch program. This program allows protocol
designers to use a branch instruction when writing roles, which are
removed and expanded by this program.
** Updated the default strand bound to 12
** Updated Coq scripts for Coq version 8.18.0
* Changes in version 4.4.2
** Fixed message equivalence test in cpsa4graph.
** Removed the cribsheet from the manual because it hasn't been
updated to reflect CPSA4 syntax.
** We now allow (defstrandmax role-name bindings) in defskeleton forms.
This declares an instance of the named role with the given
bindings of maximal height for that role. It is convenient when
developing protocols, since the height may vary as the role is
revised.
** Exponent variables received in exponentiated values and extracted by a role
are now rejected, since this is unimplementable. The loader raises
an error.
** If the earliest occurrence of an exponent variable is in a transmission,
the variable must be of rndx sort, not the more general expt.
** An asymmetric key and its inverse are both considered to be generated
at the first point either of them is created.
** Bugs in generalization that occasionally appear have been eliminated.
* Changes in version 4.4.1
** A bug concerning goal satisfaction was found and corrected.
When a goal conclusion contains existential quantifiers and
equalities involving the existentially bound variables, the bug
caused satisfaction not to be reported. The correction allows the
bound variables to receive instantiations satisfying the equations.
** A bug printing rules for cheq, rely, and guar was found and corrected.
These rules are now printed out with the defrule keywords rather
than the defgenrule keyword. This is required because the printer
does not re-insert the original trace annotations in its output,
meaning that the rules would not be re-generated automatically when
reading the output file.
** Fixed cpsa4sas so that it makes use of a lang field specified
within a protocol.
* Changes in version 4.4.0
** Many small bugs were corrected. For instance, bugs that prevented
generalization from running to completion led to redundant shapes.
Imprecision in uniq-gen led to omissions. Cpsa4sas has been
brought up to date to work accurately with protocols that use
state.
** Annotations within traces are now permitted, namely rely, guarantee,
and cheq, enabling the specifier to indicate what a principal
learns on receiving a message; what the principal must ensure
before transmitting a message; and how a message should be further
destructured when additional information has been received. The
latter allows commitment protocols, with the cheq annotation
drawing the conclusions when decommitment occurs.
** The manual has been updated for CPSA 4, and equipped with a large
number of (we hope) interesting examples. See
doc/src/cpsa4manual/examples/ for the examples.
* Changes in version 4.3.1
** Algebra signature extensions may be specified in a protocol.
** Double quote and backslash characters are allowed in strings so
that S-expressions can contain Windows file names.
** State rules are omitted from protocols that make no use of state.
* Changes in version 4.3.0
** Added support for Diffie-Hellman algebra extensions.
** Added support for algebra signature extensions.
** Added the Roletran compiler and proofs of its correctness.
The Roletran compiler translates a CPSA protocol role into a
language independent procedure. The procedures are easily
translated into the source code for existing programming languages.
** Added POV link in tree display generated by cpsa4graph.
** Made it an error to apply a macro to the wrong number of arguments.
* Changes in version 4.2.2
** Added the cpsa4goalsat program. The program prints the labels of
skeletons that do not satisfy a defgoal. For each point of view
skeleton specified by a goal, the program prints a list. The first
element of the list is the label of the point of view skeleton.
The remaining elements of the list are labels of the skeletons that
do not satisfy the goal.
** Fixed a bug in thinning that caused channel assumptions to disappear.
* Changes in version 4.2.1
** Added support for new versions of GHC (>= 8.8) that omit the fail
method from the Monad type class.
** Repaired a bug in thinning in which it occurred when it should not
have. CPSA now ensures that the strands in the point-of-view remain
unmodified.
** Added support for variables that occur in facts but do not occur in
strands.
** Added goals-sat option (-g) so that CPSA stops pursuing a branch
when a set of goals are satisfied.
* Changes in version 4.2.0
** Added support for messages on channels.
A message can now be sent on a channel. A channel can be either
authenticated, confidential, or both. Channels provide a direct
implementation of behavior that was prevously simulated with
encryption in a bulky, awkard way.
** Added the cpsainit program.
The cpsainit program copies files from the CPSA data directory into
a fresh CPSA project directory. The files ease the task of
automating the use of the various CPSA tools.
* Changes in version 4.1.1
** This is a bug fix release. There are no user visible changes.
* Changes in version 4.1.0
** Added rules and facts.
Rules are associated with protocols, and facts are associated with
skeletons. A rule is a geometric formula that is used as a rewrite
rule, and a fact is a named relation between values. See
cpsagoal.pdf for a description of rules and facts.
* Changes in version 4.0.0
** Changed the goal language to one that is strand-oriented.
** Enabled compilation using GHC 8.01 by removing the Algebra class.
** Purged cpsaannotations and cpsaparameters.
* Changes in version 2.5.3
** Corrected errors in the documentation on security goals.
** Enabled compilation using GHC 7.10 by making some monads
applicative.
* Changes in version 2.5.2
** Added an option to purge traces in skeletons while graphing
In cpsagraph, supplying the --purge-traces option causes skeletons
to be printed without their traces. This saves on clutter when
traces are large and unused.
** Updated README to reflect that Haskell Platform should always be used.
It's available everywhere now.
* Changes in version 2.5.1
** CPSA Goals document updated
* Changes in version 2.5.0
** Added support for security goals
In CPSA, a security goal is expressed as a sentence in first-order
logic. It asserts that if some properties hold for a skeleton,
then some other properties must hold for all shapes computed by
CPSA starting with the skeleton. Security goals can be used to
formally state authentication and secrecy goals of a protocol.
Security goals have been integrated into the main CPSA program.
The new defgoal form can be used to pose an analysis problem by a
sentence instead of a skeleton. CPSA extracts a point-of-view
skeleton from the antecedent of the formula and then analyzes it.
When it prints a shape, it checks to see if the shape satisfies the
conclusion of the security goal. See cpsagoals.pdf for more
information.
* Changes in version 2.4.0
** Added program cpsasas
The cpsasas program extracts a formula in the language of
order-sorted first-order logic for each problem and its shapes from
a CPSA run. The formula is called a shape analysis sentence. The
formula is modeled by all realized skeletons when CPSA finds all
the shapes for the problem. The sentence can be use with an
automated first-order theorem prover to verify security goals
associated with a protocol.
This formula extractor uses a node-oriented language, rather than a
strand-orient language. The new language integrates well with
other work on security goals and better supports protocol
transformations.
** Program cpsalogic removed
The strand-oriented formula extractor has been removed.
* Changes in version 2.3.5
** Added a translator from JSON to CPSA S-Expressions
When given the -j option, the program cpsapp translates
S-Expressions into JavaScript Object Notation (JSON) to ease
processing in other languages. The new program cpsajson translates
JSON encoded CPSA into CPSA S-Expressions.
An example of using JSON for input and output in Python is in
src/split.pl. This program copies the skeletons in a CPSA source
file into separate files.
* Changes in version 2.3.4
** Splicing added to macros
The macro expander supports splicing. The splicing character is
'^'. Example: (a ^(b c) d) becomes (a b c d) after macro
expansion.
** Diffie-Hellman algebra is disabled
The implementation has never worked well enough to be anything but
experimental, so it is now enabled via a compile-time switch.
* Changes in version 2.3.3
** Thinning has replaced pruning
Pruning was shown to be incorrect, so it has been replaced by
thinning. Two strands are said to be effectively equivalent if the
result of removing one is isomorphic to removing the other.
Thinning removes one of the strands. CPSA also implements a
multi-strand version of this idea.
* Changes in version 2.3.2
** Bug fixed in prover9
A bug was introduced in 2.3.1 that caused it to fail when the input
contains a tag.
* Changes in version 2.3.1
** Bug in priority ordering fixed
This version reverses the sort predicate so that high numbered
priorities are considered first. Nodes of priority zero will never
be solved.
** This version fixes a bug in cohort filtering
There may be changes to your output as the fix often produces more
skeletons.
* Changes in version 2.3.0
** Priorities for influencing search order added
The priority form in roles and skeletons allows the search to focus
on specific nodes of interest.
** Role non-origination with position changed
A non-origination assumption of the form (3 a) now means the
assumption is add when the height of the strand is greater that 3.
It used to be added when the height of the strand is at least three.
** Shape Analysis Sentence to Prover9 translator improved
Changed the formula translation algorithm so that predicates for
the sort declarations of variables are added to generated formulas.
Previously, the sort information was ignored.
** Bug fixed in cpsaannotations
* Changes in version 2.2.13
** Better support for Cygwin users
Added optional extension for Cygwin users. On Cygwin, put "export
EXE=.exe" in a startup file.
** Bug fixed in src/perm.pl
* Changes in version 2.2.12
** Documentation improved
The introductory documentation has been improved and a set of
slides has been added that is aimed at new users.
** JavaScript Object Notation (JSON) output supported
The CPSA pretty printer cpsapp produces JSON output when given the
-j or --json command-line option. A CPSA string translates to a
JSON string in which the first and last characters are a double
quote. A CPSA symbol translates directly to a JSON string.
* Changes in version 2.2.11
** Strand bounded runs produce more output
When a problem exceeds a strand bound, CPSA now produces every
skeleton within the strand bound before aborting. Previously, it
would abort as soon as it produced one skeleton with too many
strands. The output skeletons are no longer guaranteed to be
sequentially labeled when a strand bound violation occurs.
** Include file support added
The CPSA preprocessor includes files as it expands macros. The
syntax of the top-level include form is:
(include FILE)
** The source file name is included as a comment in the output of CPSA
* Changes in version 2.2.10
** The Make.hs program now works with latest Haskell Platform
The imports have been changed so that it no longer uses the
haskell98 package, which is now hidden by default.
* Changes in version 2.2.9
** Penetrator non-origination assumptions added
Atoms declared to be pen-non-orig cannot be originated by the
adversary but can carried. An atom assumed to be penetrator
non-originating can be used to model passwords and similar
concepts. Several regular participants might know a password and
originate it in a run of a protocol, but an idealized password is
one the penetrator cannot guess.
** Collapsing is performed before test solving
Previously, collapsing was performed on shapes and shapes that
could have been derived via a dead skeleton and collapsing where
missed. For an example, see tst/preprocess.scm.
** Disabling displacement option retired
The command-line option that disabled displacement has been removed.
* Changes in version 2.2.8
** Performance enhancement
In special circumstances, the generalization method called variable
separation takes too long. A bound has been added that limits the
number of attempts to separate variables. The result is CPSA may
report a skeleton is a shape when another is more general.
** Pruning bug fixed
Pruning is never supposed to apply to strands in the image of the
point-of-view skeleton, but previous version did so.
* Changes in version 2.2.7
** A bug in the matcher in each algebra was repaired
There was a missing case involving asymmetric key inverse that
caused an erroneous matching failure.
** Compiler warnings eliminated
The C preprocessor is now used to eliminate the warning that
the use of Data.Map.foldWithKey is deprecated while preserving the
ability to compile CPSA using GHC 6.x.
** Diffie-Hellman algebra bug fixed
CPSA produces two listeners for the term (exp (exp (gen) x) y),
instead of one as it used to. Test case tst/dhke.scm shows the bug
has been fixed.
** Diffie-Hellman algebra documentation added
The document titled "Simple Diffie-Hellman Algebra" is in cpsasdha.pdf.
* Changes in version 2.2.6
** SVG tooltips work once again
The generated SVG diagrams display a tooltip for each role and node
in a skeleton. The method used for specifying a tooltip stopped
working in recent versions of Firefox, so a new method was
implemented. Tests show Chrome and IE 9 also now correctly display
tooltips.
* Changes in version 2.2.5
** Support for hashing added
Both the Basic and Diffie-Hellman term algebras have a new function
symbol hash that provides support for hashing. The term (hash X)
is treated as a kind of encryption in which the term X is the
encryption key.
* Changes in version 2.2.4
** GHC link time option added
For GHC version 7.0.0 or greater, some runtime options used by CPSA
were turned off by default due to security concerns irrelevant to
CPSA. The runtime options are now enabled.
** Shape Analysis Sentences
The orig predicate was added to a description of a skeleton.
Without it, the important property of a shape analysis sentence
described in Theorem B.1 of The CPSA Specification does not hold.
Also, the Prolog program src/prover9.pl was added. It translates
cpsalogic output into prover9 syntax.
* Changes in version 2.2.3
** New program added
The cpsalogic program extracts a formula in the language of
order-sorted first-order logic for each problem and its shapes from
a CPSA run. The formula is called a shape analysis sentence. The
formula is modeled by all realized skeletons when CPSA finds all
the shapes for the problem. The sentence can be use with an
automated first-order theorem prover to verify security goals
associated with a protocol.
To support the cpsalogic program, cpsa was modified so that for
each shape, it prints a homomorphism from the point-of-view
skeleton to the shape.
** Documentation updated
The CPSA Specification was extensively rewritten to improve
readability and reflect the current code base. Appendix B was
added. It describes the theory behind shape analysis sentences and
cpsalogic.
The CPSA Design was updated to reflect the current code base and a
section was added that describes the modules in the source code.
** Pruning bug fixed
A coding error that lead to unjustified pruning has been fixed.
* Changes in version 2.2.2
** Completeness problem corrected
Added an new condition to the solved filter so that CPSA now finds
the shape in targetterms8.
** Performance problem corrected
Corrected a memory consumption problem exhibited by Wang's Fair
Exchange Protocol. Before the correction, CPSA used 1.9GB of
memory, afterwords, it uses 3MB.
** Non-ASCII accepted as input
Non-ASCII letters are accepted as constituents of symbols and
strings.
* Changes in version 2.2.1
** Web graph output extension changed from .xml to .xhtml
Firefox works better with this file extension.
** No HTML5 sliders
The zoom option for cpsagraph no longer generates HTML5 sliders due
to changes designed to make large documents load faster.
** Program cpsagraph tree construction algorithm improved
The time and space used to form derivation trees has been reduced.
** Treeless option added to cpsagraph
For input too large to process otherwise, option --treeless
generates an XHTML document without trees, and therefore uses less
memory. It works as long as each skeleton in the input fits into
memory. The default XHTML generator requires that all skeletons
fit in memory simultaneously.
** Output bug in cpsadiff fixed
A bug in cpsadiff that caused it to fail to print all of its output
before it exited has been fixed.
* Changes in version 2.2.0
** Pruning reverted to CPSA 2.1.0 behavior
Pruning once again occurs after contractions and listener
augmentations. We found examples where it is essential to prune
after a contraction. We are exploring other ways of addressing the
completeness problems due to pruning.
** Runtime options can be specified within a file
The herald form has been added. It allows one to specify most of
the options currently specified on the command line within a file.
For example, to specify the option --bound=12 within a file, write:
(herald "Needham-Schroeder Public-Key Protocol" (bound 12))
** Role annotation influences test node search algorithm
If a role includes (reverse-search) in its association list, the
order in which the nodes of a strand that is an instance of this
role is search for a test node will be reversed. By default, CPSA
selects the earliest test node in a strand, but with this
annotation, it will select the latest one.
** CPSA specific diff program added
The program cpsadiff has been added. The program compares two CPSA
output files S-expression by S-expression, and prints the first
skeleton that differs. For Windows users, there is now a diff
program available without installing MSYS or Cygwin.
** Some programs gently handle incomplete S-expressions
When a CPSA run is aborted, it may produce an incomplete
S-expression. The programs cpsagraph, cpsashapes, and cpsapp,
treat an incomplete S-expression as end-of-file, and print a
warning message. This change makes it easier to analyze runs that
fail to terminate.
** Blue marks realized reception nodes
The program cpsagraph uses the color blue to distinguish realized
reception nodes from transmission nodes.
** Diagram scalers added
When viewing large outputs in cpsagraph's expanded format, by
supplying the --zoom option, one gets controls that allow SVG
diagrams to be scaled.
* Changes in version 2.1.2
** Displacement on by default
Displacement is on by default and the sense of the -d switch has been
changed. It now disables displacement.
** Diffie-Hellman support changed
Previous support for Diffie-Hellman had serious problems for which we
have no solutions at this time. We recognize now that the concepts of
unique origination and non-origination as currently defined do not fit
in well with an implementation of Diffie-Hellman in which exponents
are an Abelian group.
For now, we provide simplified Diffie-Hellman support with an algebra
that has an equation for the commutativity of exponents, but no other
equation.
(exp (exp (gen) x) y) = (exp (exp (gen) y) x)
This algebra is an attempt to provide some kind of Diffie-Hellman
support within the current framework while we search for the proper
framework.
* Changes in version 2.1.1
** Graph program handles incomplete output
The graph program no longer requires that every seen child mentioned
in the output is in it. Therefore, the program can handle output from
some interrupted runs.
** Pruning restriction
We found examples in which pruning prevented us from finding some
shapes. Pruning is now performed only after augmentation, and only
when the augmented strand is involved.
** Compact output notation
There is a new infix notation for XHTML and LaTeX output that is more
compact, and hopefully more readable for large problems. Enable it by
specifying the -i flag when invoking cpsagraph or cpsapp.
* Changes in version 2.1.0
** Initial comments displayed
The graph program displays the initial comments in an input file.
** New command line options
Four new command line options have been added:
-d --displacement enable displacement
-c --check-nonces check nonces first
-t --try-old-strands try old strands first
-r --reverse-nodes try old nodes first
In rare cases, the use of one of these options may allow normal
termination in a case in which CPSA aborts otherwise.
** GHC 6.8 no longer supported
Use GHC 6.10 or greater.
** Bugs fixes
Some minor bugs were fixed that mostly effect artificially generated
protocols.
* Changes in version 2.0.5
** Performance enhanced
A source of duplicated effort was removed that reduces the run time
for analyzing the NSL5 protocol from about a day to about a minute!
The enhancement doesn't seem to effect the run times of many other
protocols.
** Bugs fixes
Some minor bugs were fixed, and there are now no tests in the test
suite that shows that CPSA fails to find a shape in should.
** CPSA theory document added
A document on authentication tests has been added. The document is
not installed are the CPSA Specification and the CPSA Design documents.
The sources for the document are provided, and must be built by typing
make in the doc directory.
* Changes in version 2.0.4
** Input skeletons are no longer pruned
** Bug in the acyclic graph checker fixed
In rare cases, the buggy checker allowed skeletons with circular
node orderings.
* Changes in version 2.0.3
** Generalization bug fixed
A bug associated with origination assumption forgetting has been
fixed.
** SWI Prolog tools added
Tools that allows CPSA to be manipulated in Prolog are in the src
directory. The tools include a pretty printer that uses the same
algorithm as is used in the Haskell pretty printer.
** Cabal description improved
An expanded description of CPSA has been added to its cabal file.
* Changes in version 2.0.2
** Better message terms in graphs
CPSA graph now uses the information in the traces comment when it's
available when printing message terms.
* Changes in version 2.0.1
** Inherited unique origination bug fixed
Added check that unique origination position is preserved by
inheritance.
** Variable printing improved
Improved renaming algorithm used to avoid collisions while printing
variables.
* Changes in version 2.0.0
** CPSA is an open source package
** Better support for Diffie-Hellman
Makefiles use the *.sch the extension for problems that use
Diffie-Hellman.
* Changes in version 1.5.5
** Encryption tests solved before nonce tests
CPSA now solves encryption tests before it tries nonce tests.
Experiments have show this heuristic can lead to substantially smaller
derivation trees in some cases, but in a few cases, derivation trees
are slightly larger.
** Better error messages for ill-formed roles and preskeletons
CPSA generates a more informative message when a role or a preskeleton
is not well-formed.
* Changes in version 1.5.4
** Pruning bug fixed
A check that origination assumptions are honored by the homomorphisms
associated with pruning was added. As a result, cases in which
erroneous pruning was performed have been eliminated.
** Comments in skeletons are preserved
The comment field in a skeleton given as input is included when it is
printed.
* Changes in version 1.5.3
** Skeleton diagrams improved
In a skeleton diagram, an edge between nodes that do not agree on
their message is displayed with a dashed line.
** Less general skeletons removed from cohort
During contraction and regular augmentation, some skeletons that are
less general than others are removed from consideration. These
skeletons contribute nothing new.
* Changes in version 1.5.2
** Pruning bug fixed
Added the requirement to pruning that ordering relations associated
with the more general (pruned) strand are implied by the less general
strand.
** Role non-orig length specification added
Added support for delaying the inheritance of a role non-origination
assumption by adding a length specification to role non-origination
declarations. The non-orig assumption is inherited when the strand
meets the length requirement.
* Changes in version 1.5.1
** Generalization bug fixed
CPSA no longer prunes while generalizing.
** Change license to BSD
* Changes in version 1.5.0
** Diffie-Hellman algebra added
This is an early access release of the Diffie-Hellman algebra. Its
signature is described in the CPSA User Guide. It has only been
tested on the example in tst/dh.lisp, and the output seems reasonable.
** Keyword defpreskeleton changed to defskeleton
Most often, the defpreskeleton form described a skeleton. To reduce
confusion, form has been renamed. The CPSA program still accepts the
old keyword. A script that updates the keyword is in src/preskel.sh.
* Changes in version 1.4.9
This version is a bug fix and speed enhancement fix only.
** Obscure display bug fixed
** Role origination check bug fixed
The origination check is now omitted when the inheriting strand is too
short to inherit a unique origination assumption.
** Role origination check bug fixed
** Outer most encryptions preferred for encryption tests
When choosing among encryptions for critical messages, CPSA prefers
outer most encryptions over ones within another encryption.
* Changes in version 1.4.8
** Support for key usage added
A name may be associated with more than one asymmetric key using the
binary form of pubk, where the first argument is a quoted constant.
For example, (pubk "sig" a) and (pubk "enc" a) can be used to describe
name a's public signature and encryption key.
** Progressive refinement technique described
The advice section of the CPSA Primer describes the progressive
refinement technique.
* Changes in version 1.4.7
** Unused role variables are silently ignored
Unused role variables used to cause an error. This behavior
interfered with the practice of submitting output as input with small
modifications.
** Isomorphism check performance improved
** Added an overview section to the CPSA Specification
* Changes in version 1.4.6
** Added no isomorphism checking mode (--noisochk)
In noisochk mode, isomorphism checks are avoided by not identifying
duplicate skeletons and by not generalizing realized skeletons.
Isomorphism checks between two skeletons with a large number of
strands can take a long time, so for some problems, CPSA runs faster
in this mode. Warning, in this mode, CPSA reports that each realized
skeleton is a shape even when it is not one. In this way, the
cpsashapes program can be used to extract the realized skeletons from
the run.
** Added LaTeX output mode to cpsagraph
The cpsagraph program generates LaTeX source that places S-expressions
in verbatim environments and generates XY-pic diagrams of skeletons.
The XHTML output should always be preferred, however, LaTeX output is
useful when generating a report or a briefing on the results of using
CPSA.
** CPSA Primer updated
The example output has been updated to reflect recent changes,
numerous editorial improvements were made, and the advice section
has been augmented with some recently learned tricks.
** CPSA algorithm specified
At last. The CPSA Specification contains a specification of all of
the parts of the CPSA algorithm. In particular, a description of
the augmentation algorithm is in writing.
** CPSA Design rewritten
Most of the material that was once duplicated in both The CPSA
Specification and The CPSA Design has been purged from the design
document. The document now assumes its reader have already read The
CPSA Specification. As a result, it focuses solely on implementation
issues, and leaves correctness issues to the specification.
** Aborted output is no longer generalized
CPSA will abort when a strand bound or a step count is exceeded.
Since generalization involves isomorphism checks, the old abort
implementation could take a very long time to finish.
* Changes in version 1.4.5
** CPSA macros expanded by cpsa program
CPSA now expands macros rather than using a preprocessor for the task.
The cpsapp program now just pretty prints its input.
** Memory leak fixed
Permutations no longer memoized--can cause excessive use of memory.
** In rely/guarantee formulas, "t" and "f" are no longer keywords
Use (and) for truth and (or) for falsehood.
* Changes in version 1.4.4
This is a correctness critical update to CPSA.
** Shape search design error fixed.
The shape search algorithm includes a new shape collapsing operation
that allows CPSA to find shapes it used to miss. The operation
includes the symbol "collapsed" followed by the two strands that were
merged. The Otway-Rees example in tst/or.scm makes use of the new
operation.
** Pruning bug fixed.
The pruning operation now uses a substitution that is idempotent for
strands other than the pruned strand.
** Specification document added.
The sources to the CPSA document that specifies CPSA as a reduction
system are now included and can be used to build doc/cpsaspec.pdf.
** S-expression reader bug fixed.
The S-expression reader now reads much larger input files. This means
cpsashapes can be used on larger files.
** Multiprocessor enabled CPSA built by default.
See the README for instructions on how to build CPSA when the parallel
libraries are missing.
* Changes in version 1.4.3
** Improved performance due to better substitution data structure.
** Corrected a bug in substitution associated with variables of sort mesg.
The fix changes the output for tst/dy.scm.
** Corrected a bug in substitution composition
The fix changes the output for tst/dy.scm.
** Corrected a bug that caused some valid generalizations to be rejected.
** Sort "term" is no longer a synonym for "mesg".
* Changes in version 1.4.2
** Fixed a contraction and an augmentation bug.
** The protocol specification checker cpsaparameters added.
The cpsaparameters program detects some specification errors by
performing a base term usage analysis.
** Parallel search available on SMPs.
Semi-explicit parallelism annotations were added to the CPSA search
routine. Enable with -fpar during configuration.
** Pretty printer changed.
All lists in a defrole and a defpreskeleton are now broken whenever
one of them is.
** Preskeletons with no strands are detected, and an error is signaled.
* Changes in version 1.4.1
** The macro preprocessor cpsapp added.
The preprocessor was added to ease the task of specifying protocols
with reoccurring message patterns. It can also be used to pretty print
cpsa input.
** Base terms allowed as principals in annotations.
Base terms as principals are now allowed so as to allow keys as
principals.
** Cohort filtering added.
The cohort is now filtered so that every member is solved. The
filtering removes dead ends earlier in the computation.
** Fixed a minimization bug.
When separating a uniquely originating base term, either the term or
its clone is uniquely originating.
* Changes in version 1.4.0
** Variable declaration syntax changed.
More than one variable can be declared to be of a given sort in a
single declaration form.
** New sort added.
The sort data was added, a sort that is similar to sort text. The new
sort can be used to partition nonce-like data from ordinary text-like
data. See tst/epmo.scm for an example of its use.
** Sort symbol changed.
The symbol used for the top sort has been changed from term to mesg.
** Default output format for cpsagraph changed.
The default output format for cpsagraph is now the expanded format.
* Changes in version 1.3.2
This is a bug fix only release.
** Fixed a minimization bug.
Use the transitive closure of the communication ordering before
deleting a node.
** Added new well-formed preskeleton check.
Every uniquely originating role term mapped by in instance must be
mapped to a term that originates on the instance's strand.
* Changes in version 1.3.1
This is a bug fix only release.
** Bad listener augmentation bug fixed.
Listeners are now added only for the decryption keys of the top most
encryptions in the escape set. This fixes a bug reported by Eric Bush.
* Changes in version 1.3.0
This release changes the external syntax and fixes bugs.
** Encryption syntax simplified.
To reduce clutter, when enc has more that two terms, a concatenation
is added to all but the last term.
** New name for document.
The CPSA Tutorial was renamed to the CPSA Primer.
** The cpsaannotations program has documentation.
Preliminary documentation is in the CPSA User Guide.
** A make system for Windows was added.
The file doc/Make.hs allows the use of Windows without Cygwin or MinGW.
** A strand augmentation bug was fixed.
This change allows CPSA to find the flaw in the Dolev-Yao Example 1.3
test case.
** Assumption forgetting works again.
This is a fix to a bug that was introduced in the previous release.
** Isomorphism bug fixed.
A strand permutation map was applied to the wrong ordering.
* Changes in version 1.2.3
This is a bug fix only release.
** Illegal comments no longer generated.
The comment generated for non-default strand bounded or step count
limited runs contained an illegal character that has been removed.
As a result, the graphing programs work again.
** A substitution printing failure has been fix.
** The augmentation bug fix in 1.2.2 had a problem that is now fixed.