-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathChangeLog
More file actions
2769 lines (1764 loc) · 91.8 KB
/
ChangeLog
File metadata and controls
2769 lines (1764 loc) · 91.8 KB
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
2026-05-24 Paul D. Rowe <prowe@mitre.org>
* doc/cpsa4manual.pdf: Document new features in manual
* cpsa.cabal (Version): Tagged as version 4.4.9
2026-05-23 Paul D. Rowe <prowe@mitre.org>
* src/CPSA/Signature.hs (defaultSig): Added dev as a default
atomic sort. Also added locn and chan to be valid sorts in the
message algebra that can appear in messages.
* src/CPSA/Channel.hs (ChMsg, ChType, ...): Changed the structure
of ChMsg to include an argument indicating if it is a channel or
location.
* src/CPSA/Algebra.hs (isChan, isLocn, ...): Allowed the channel
and location positions of events to be any message term.
* src/CPSA/{Algebra.hs,Channel.hs,Cohort.hs,Db/Loader.hs,
Displayer.hs,GenRules.hs,LoadFormulas.hs,Loader.hs,Protocol.hs,
Strand.hs}: Threaded necessary changes to ChMsg data type through
all functions and fixed resulting incompatibilities.
2026-03-16 Paul D. Rowe <prowe@mitre.org>
* src/CPSA/Loader.hs (loadSExpr): Added a deflemma as a new
top-level form. A deflemma is marked as no-check (import as a rule
into the protocol of the same name for subsequent queries) or as
check (first add the lemma as a query, then add as a rule for
subsequent queries regardless of whether or not the lemma is
satisfied).
2026-02-27 Paul D. Rowe <prowe@mitre.org>
* cpsa.cabal (Version): Tagged as version 4.4.8
2026-02-27 Paul D. Rowe <prowe@mitre.org>
* src/CPSA/Strand.hs (rewrite): Fixed a bug that failed to check
nullary rules after the success of a unary rule.
2025-12-01 Paul D. Rowe <prowe@mitre.org>
* src/CPSA/{Strand.hs,Reduction.hs} (unSatReport): Modified how
to report unsatisfiability of goals to list all predicates that are
not satisfiable.
2025-05-05 Joshua D. Guttman <guttman@mitre.org>
* cpsa.cabal (Version): Tagged as version 4.4.6. Removed an
obscure bug in which the generators were used wrong, causing a
unification failure. We improved the generalization code to avoid
redundancies. We improved the overall functionality by allowing
state operations in which stores are not preceded by a load on
that location.
2025-05-02 John D. Ramsdell <ramsdell@mitre.org>
* src/cpsa/RoleCoq/Main.hs (emit): Updated Roletran to use rocq
9.0.0.
2024-07-17 Joshua D. Guttman <guttman@mitre.org>
* cpsa.cabal (Version): Tagged as version 4.4.5. Adds cpsa4db and
cpsa4dbprolog to enable prolog access to the goal language and
other properties of CPSA output. Fixes supplementary bugs and
eliminates redundant occurrences of seen children.
2024-06-21 Joshua D. Guttman <guttman@mitre.org>
* cpsa.cabal (Version): Tagged as version 4.4.4. This version has
important bug fixes especially for the Diffie-Hellman "absence"
computation.
2023-10-23 John D. Ramsdell <ramsdell@mitre.org>
* cpsa.cabal (Version): Tagged as version 4.3.3
2022-04-14 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Signature.hs (loadSig): Improved language field loading
error messages.
2022-04-08 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Loader.hs (findPreskel, findGoal): Updated to use
protocol's signature.
2022-04-07 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/{Graph,SAS,Shapes}/Main.hs: Removed extra quotes in
error messages.
2022-03-25 Joshua D. Guttman <guttman@mitre.org>
* src/CPSA/Loader.hs (loadRole etc): Distinguish state-specific
generated rules from other generated rules so that only the state
rules will be omitted if state is not in use.
2022-03-22 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Loader.hs (hasLocn): Omit adding state rules in a
protocol that makes no use of state.
2022-03-17 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Lib/SExpr.hs: Allow double quote and backslash in
strings so that S-expressions can contain Windows file names.
* src/CPSA/Loader.hs (loadLang): Optionally load a lang field in a
protocol.
2022-02-08 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Graph/SVG.hs (kbutton): Made realized skeletions print
in blue and shapes are now bold.
2021-12-08 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Strand.hs (origUgenDiffStrand): Flush skeletons that
have a value that is both uniq orig and uniq gen, and start on
different strands.
2021-11-02 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Graph/ExpandedView.hs (tdrawer): Added POV link in
tree.
2021-10-27 Joshua D. Guttman <guttman@mitre.org>
* src/CPSA/Strand.hs: Fixed subtle bug causing generalization to
fail when uniqs, nons, and pnons can be omitted. Problem was that
the code for these operations modifies the preskeleton data
structure directly, just deleting the basic value. But the
preskeleton datastructure as computed fields, especially the gist,
that need to be recomputed. RenewPreskel calls newPreskel to
recompute these fields correctly.
2021-09-14 Joshua D. Guttman <guttman@mitre.org>
* src/CPSA/Loader.hs: Modified the transition rules. A load
event will now be asserted to be a transition event in a strand
only if that strand is long enough to contain a matching stor.
Previously it counted as a transition as long as the role
contained a matching stor. This should avoid unwanted
consequences when roles may match up to a height that contains the
load but not the subsequent store.
2021-09-10 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/lib/Expand.hs (macroExpand): Made it an error to apply
a macro to the wrong number of arguments.
2021-06-26 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Roletran/Emitter.hs (displayKind): Reverted to coarse
program variable types for procedures.
2021-06-16 Joshua D. Guttman <guttman@mitre.org>
* src/CPSA/Roletran/Protocol.hs: Distinguished generated rules
and user-written rules in the protocol datatype. Caused Loader to
separate the two kinds of rules, and Displayer to display the
generated rules as defgenrule.
2021-05-07 John D. Ramsdell <ramsdell@mitre.org>
* Roletran correctly handles long term keys, key inverses, and
named asymmetric keys.
2021-04-27 Joshua D. Guttman <guttman@mitre.org>
* clarified package description (deorigination)
2021-04-14 John D. Ramsdell <ramsdell@mitre.org>
* Makefile: Vastly simplified.
* CPSA/Roletran/Derivation.hs (deriveEvent): Added missing checks
that determine if sent messages and returned messages are
receivable.
2021-03-10 John D. Ramsdell <ramsdell@mitre.org>
* CPSA/Roletran/Emitter.hs (Kind): Added refined program
variable types for procedures.
2021-01-12 John D. Ramsdell <ramsdell@mitre.org>
* CPSA/Roletran/Derivation.hs (deriveInputs): Allowed inputs to
contain any term as long as they can be reduced using previous
inputs.
2020-11-10 John D. Ramsdell <ramsdell@mitre.org>
* coq: Changed the representation of procedures to use statement
lists.
2020-10-27 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/RoleCoq/Main.hs: Added program cpsa4rolecoq that
translates the roles in the first protocol of CPSA input into Coq.
* src/CPSA/Coq/Main.hs: Added program cpsa4coq that translates the
output of cpsa4roletran into Coq.
* coq: Added Coq libraries that can be used to verify that an
output of cpsa4roletran is valid.
2020-09-10 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Roletran/Main.hs: Added cpsa4roletran
2020-08-28 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Graph/Preskeleton.hs (nodeColor): Added colors for
load and stor.
2020-08-10 John D. Ramsdell <ramsdell@mitre.org>
* cpsa.cabal (Version): Tagged as version 4.3.0
2020-04-20 Joshua D. Guttman <guttman@mitre.org>
* src/CPSA/Strand.hs (isAuth): Added locations with point
structure and uniqueness assumptions.
2020-04-02 Ian D. Kretz <ikretz@mitre.org>
* src/CPSA/Latex/Main.hs (main): Remove number from pubk, privk
newcommand
2020-03-05 John D. Ramsdell <ramsdell@mitre.org>
* cpsa.cabal (Extra-Source-Files): Remove defunct CGI scripts.
2020-03-04 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Prot/Main.hs (maybeExpand): Added -e option that causes
cpsa4prot to expand macros before it generates protocols.
2020-02-27 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Strand.hs (probIsomorphic): Added quick checks for
thinning isomorphism check.
2020-02-20 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Prot/Main.hs (main): Improved error messages and added
(chmsg TERM) form for channel messages.
2020-02-18 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Prot/Main.hs (msg): Added role cloning in cpsa4prot.
* doc/cpsa4.mk: Added preprocessing rule for *.prot files that
invoke cpsa4prot.
* src/CPSA/Prot/Main.hs (main): Added cpsa4prot program that
translates protocols in Alice and Bob notation into defprotocol
syntax.
2020-02-15 John D. Ramsdell <ramsdell@mitre.org>
* cpsa.cabal (Version): Tagged as version 4.2.3
2020-02-14 John D. Ramsdell <ramsdell@mitre.org>
* Makefile: Updated for Cabal 3.0.0.0
* cpsatst: Updated for Cabal 3.0.0.0
2020-02-14 Ian D. Kretz <ikretz@mitre.org>
* src/CPSA/Latex/Main.hs: Added the cpsa2latex program.
2019-12-19 John D. Ramsdell <ramsdell@mitre.org>
* doc/src/cpsafoundation.tex: Added document titled "Strand Spaces
with Channels and Rules".
2019-12-06 John D. Ramsdell <ramsdell@mitre.org>
* cpsa.cabal (Version): Tagged as version 4.2.2
2019-11-27 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/GoalSat/Main.hs (main): Added the cpsa4goalsat program.
2019-11-14 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Strand.hs (soothePreskel): Fixed the filters for
channels by testing with all channel variables rather than all
message variables.
2019-11-12 John D. Ramsdell <ramsdell@gootoo.mitre.org>
* src/CPSA/Strand.hs (tryPermProb): Rewrote tryPermProb so
that it uses tryPerm.
2019-10-21 John D. Ramsdell <ramsdell@mitre.org>
* cpsa.cabal (Version): Tagged as version 4.2.1
* src/CPSA/Lib/ReturnFail.hs: Used the C preprocessor to allow
compilation using older versions of GHC. In particular, defined
MonadFail to be Monad when the base library is less than 4.13.
2019-10-15 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Lib/ReturnFail.hs: Updated code to support the removal
of fail from Monad as implemented in base-4.13.0.0.
2019-09-16 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Strand.hs (probIsomorphic): In thinning, replaced
isomorphic check with probIsomorphic check so that strands in the
point-of-view remain unmodified.
2019-09-11 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Strand.hs (dropInbnd): Enabled strong pruning as a
compile time switch. Also, when using either form of pruning,
thinning is disabled.
2019-09-10 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Strand.hs (prune): Added pruning as a compile time
option controlled by Strand.usePruning. When True, CPSA prunes
before it attempts to thin.
2019-09-05 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Strand.hs (fperms): Added support for variables that
occur in facts but do not occur in strands. The tricky part was
making isomorphism checking work, and fperms is the key function.
2019-09-03 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Reduction.hs (step): Added goals-sat option (-g) so
that CPSA4 stops pursuing a branch when a set of goals are
satisfied.
2019-08-26 John D. Ramsdell <ramsdell@mitre.org>
* cpsa.cabal (Version): Tagged as version 4.2.0
2019-08-22 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Strand.hs (doRewritesLoop): Fixed the code that counts
rewrite rules applied so it is accurate. This allows the rewrite
rule limit to be correctly enforced.
2019-08-21 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Strand.hs (runiqAt): Ensured that rewriting with
uniq-at fails when the index is greater than the strand length.
(rluniq): Fixed existing check to using kunique instead of knon.
2019-08-19 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Init/Main.hs (main): Added program cpsainit. The
programs copies the files Makefile, cpsa4.mk, and Make4.hs from
the CPSA data directory to the current directory, thereby easing
the task of starting a CPSA project.
2019-08-12 John D. Ramsdell <ramsdell@mitre.org>
* Added support for channels.
2019-08-08 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Strand.hs (krules): Added a field in Preskel that
tracks the names of applied rules.
2019-06-26 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Lib/Strand.hs (multiset): Used multisets of trace
briefs to reduce the number of full permutation isomorphism
checks.
2019-06-21 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Strand.hs (brief): Added a summary of trace that
reduces the need for matching during isomorphism checking.
2019-06-04 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Reduction.hs (begin): Reversed todo list after running
rules so as to get the output order correct.
2019-05-20 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Strand.hs (tryPerm): Fixed bug in isomorphism
checking. Second check of facts used wrong permutation.
2019-05-17 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Strand.hs (doRewriteOne): Values associated with
existential variables in rules are freshly generated so that
parameter terms can be compound.
2019-04-03 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Strand.hs (verbosePreskelWellFormed): Added a check
that ensures the every variable that occurs in a fact also occurs
in some strand.
2019-03-13 John D. Ramsdell <ramsdell@mitre.org>
* doc/src/cpsaspec.tex (Critical Position Solved): Corrected item
3 in the definition and improved its presentation.
2019-02-22 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Reduction.hs (addAnnoKey): Added structured
annotations to skeleton output to facilitate post processing
programs besides cpsagraph. The new keys are (aborted),
(satisfied-all), and (dead).
2019-02-04 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Reduction.hs (step): Changed default depth bound to
zero representing no bound and ignored the check when the bound is
not positive.
2019-01-31 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Loader.hs (badKey): Added checks for bad keys in alists
for skeletons ("defstrand" and "deflistener") and protocols
("defrole" and "defrule").
2018-11-19 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Lib/Printer.hs (formula): Added special pretty
printing rules for formulas in defgoal and defrule.
2018-11-13 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Strand.hs (firstSkeleton): Added a field pprob to
Preskel and use it record the strand map from a preskeleton to the
first skeleton. This is used when printing the strand map of a
skeleton on the fringe.
2018-11-09 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/SAS/SAS.hs (loadPOV): Use a preskeleton as a POV
instead of insisting on using a skeleton.
2018-08-22 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Strand.hs (doRewrites): Added a limit on the number of
rules that can be applied after solving an authentication test.
2018-08-20 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Strand.hs (soothePreskel): Made soothe cleans facts.
* src/CPSA/Strand.hs (tryPerm): Added case for reverse match of
facts.
2018-08-06 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Lib/Loader.hs (loadConclusion): Removed mode flag as
this routine should always be using mode RoleSpec. This resolves
a bug in which CPSA could not load a Shape Analysis Sentence as
rule because equality was before the protocol specific formulas.
2018-06-18 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Strand.hs (gparam): Added support for binding the
strand variable in gparam as opposed to relying on it being bound
by a role length predicate.
2018-06-11 John D. Ramsdell <ramsdell@mitre.org>
* cpsa.cabal (Version): Tagged as version 4.1.1
2018-05-31 John D. Ramsdell <ramsdell@mitre.org>
* doc/src/cpsagoals.tex: Added DoorSEP explanation as Section 6.2.
2018-05-30 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Reduction.hs (begin): Change "Not in theory" message to
"Not closed under rules".
2018-05-29 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Cohort.hs (maximize): Eliminated generalizations that
fail to satisfy the rules of the skeleton's protocol. Otherwise,
generalizations can undo the effects of applying rules.
2018-05-21 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Strand.hs (changeLocations,deleteNodeRest): Flushed
facts that referred to variables that no long exists a skeleton's
instances.
2018-05-15 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Strand.hs (doRewriteOne): Ensured that the skeletons
produced by rule application are well-formed. When rules produce
non well-formed skeletons, havoc ensues.
2018-03-20 John D. Ramsdell <ramsdell@mitre.org>
* tst/fluffy_draft03_gske.scm (fluffy-rule): Added fluffy example
with some rules.
2018-02-14 John D. Ramsdell <ramsdell@mitre.org>
* cpsa.cabal (Version): Tagged as version 4.1.0
2018-02-13 John D. Ramsdell <ramsdell@mitre.org>
* cpsa.cabal (Data-Files): Removed the overview document.
2018-02-12 John D. Ramsdell <ramsdell@mitre.org>
* Many files: Removed support for nodes in facts.
2018-02-09 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Cohort.hs (filterSame): Added a filter that removes
skeletons in the cohort that are isomorphic to the parent. Rule
application produced the skeletons filtered out.
2018-02-07 John D. Ramsdell <ramsdell@mitre.org>
* doc/src/cpsagoals.tex (section{Rules}): Added a description of
rules and the DoorSEP example.
* src/CPSA/{Strand.hs,...}: Replaced unsorted rule language with
one that uses the security goal language. This means a rule can
refer to all of the function symbols provided by the message
algebra.
2018-01-26 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/SAS/SAS.hs (Preskel): Added support for facts in shape
analysis sentences.
2018-01-22 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Strand.hs (doForm, uMatchForm): Use transitive closure
of prec relation instead of just the contents of the ordering
field. Otherwise, rules can loop.
* src/CPSA/Strand.hs (doForm): In case of UPrec, fail when strand
index is too large, instead of raising an error.
2018-01-17 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Strand.hs (deleteNode): Update facts correctly when
deleting a node.
* src/CPSA/Reduction.hs (begin): Start up an analysis by applying
as many rules as possible. Also, added protocol transformations
test case.
2018-01-15 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Loader.hs (loadUForm,loadUTerm): Improved loader error
messages for rules.
2018-01-14 John D. Ramsdell <ramsdell@mitre.org>
* doc/{*.tex,*.mp,Makefile}: Moved LaTeX sources to doc/src.
2018-01-13 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/*.hs: Added rules to protocols enabling rewriting based
on geometric formulas.
* doc/cpsauser.html: Added a description of rules and facts.
2018-01-12 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Loader.hs (mkListenerRole): Changed do pattern to be
irrefutable.
2018-01-10 John D. Ramsdell <ramsdell@mitre.org>
* doc/{cpsauser.html,cpsaprimer.tex}: Added a description of the
displaced test kind in the operation field.
2018-01-04 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Loader.hs (loadConclusion): Added false as an alias for
(or) in the goal language.
2017-12-30 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Strand.hs (Fact): Added facts to skeletons and the goal
language.
2017-08-18 John D. Ramsdell <ramsdell@mitre.org>
* Updated README and doc/cpsauser.html.
2017-05-16 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Algebra.hs (displaySubst): Removed erroneous
substitution to fix substitution displaying.
2017-05-10 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Strand.hs (findReplacement, permutations): Merge
generators so that no variable in a term has an identifier that is
greater than or equal to the generator.
2017-05-03 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Strand.hs (soothPreskel): Modified isomorphism check
and thinning so that it no longer uses matchRenaming and
identityEnvFor, which have been removed from the algebra module.
The new version of thinning follows the definition of thinning
more closely, and the spec has been updated to reflect the change.
2017-02-02 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Algebra.hs (loadInvk): Added support for reading (invk
(privk ...)) and (invk (invk ...)).
2017-01-27 John D. Ramsdell <ramsdell@mitre.org>
* doc/cpsagoals.tex: Updated document for the strand-oriented
logic language.
* cpsa.cabal (Version): Tagged as version 4.0.0
2017-01-22 John D. Ramsdell <ramsdell@mitre.org>
* doc/cpsaspec.tex (chapter{Shape Analysis Sentence}): Update
chapter for the strand-oriented logic language.
2017-01-19 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Characteristic.hs (strdRoleLength): Allowed two role
length atoms with the same strand as long as they agree on the
role.
2017-01-17 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/SAS/SAS.hs (paramForm): Remove conjoin and use
concatMap when creating a characteristic skeleton.
2017-01-09 John D. Ramsdell <ramsdell@mitre.org>
* Changed the goal language to one that is strand-oriented.
2016-12-23 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Lib/*.hs: Added Haddock comments.
* cpsa4.cabal: Reorganized source directory structure. CPSA
specific modules are now in src/CPSA.
* src/CPSA/Lib/Cohort.hs (solved): In Condition 5, applied
substitutions to the encryption keys before testing for
derivability.
* src/CPSA/Lib/Algebra.hs (matchRenaming): Made isomorphism check
work in presence of asymmetric keys.
* src/CPSA/Lib/Algebra.hs (loadInvk): Enabled reading of invk
(pubk ...).
* tst/reflect.scm: Added reflect protocol example.
* src/CPSA/Lib/Algebra.hs (mkVar): code cleanup: better version of
mkVar for loadVar
* Enabled compilation using GHC 8.01 by removing the Algebra
class.
* Purged programs cpsaannotations and cpsaparameters.
2016-04-13 John D. Ramsdell <ramsdell@mitre.org>
* cpsa4.cabal (Version): Updated version number to 4.0.0.
* Made it so that cpsa4diff, cpsa4shapes, cpsa4graph, cpsa4pp, and
cpsa4json do not rely on CPSA.Lib.Algebra.
* src/CPSA/Graph/Main.hs: Purged support for infix notation.
2016-03-30 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/SAS/SAS.hs: Added support for fringe skeletons so that
cpassas makes use of depth limited output. When a tree depth
limit is exceeded, a fringe labeled skeleton is printed. cpsasas
produces a sentence with a right-hand-side that encodes both the
shapes and the fringe. Thus, when cpsa is running with a tree
depth limit of one, cpsasas computes a cohort analysis sentence.
2016-03-29 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Lib/Reduction.hs (LPreskel): Added a depth field, so
that CPSA aborts when the depth of one branch exceeds a bound.
* src/CPSA/Lib/Algebra.hs: Add escapeSet to Term class and remove
protectors, thus computing the escape set in a more
straightforward way.
2016-01-12 John D. Ramsdell <ramsdell@mitre.org>
* cpsa.cabal (Description): Added sentence saying CPSA was
designed and implemented at The MITRE Corporation.
* cpsa.cabal (Version): Tagged as version 2.5.4
2015-10-02 John D. Ramsdell <ramsdell@mitre.org>
* doc/{index,cpsauser}.html: Added width limit of 48em.
2015-08-21 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/*/*.h: Removed leading tabs.
* src/CPSA/Annotations/Formulas.hs (EitherS): Made EitherS an
instance of Applicative.
* cpsa.cabal (Version): Tagged as version 2.5.3
2015-08-07 John D. Ramsdell <ramsdell@mitre.org>
* doc/cpsagoals.tex: Corrected the definition of satisfaction.
2015-08-06 John D. Ramsdell <ramsdell@mitre.org>
* doc/cpsagoals.tex: Made minor fixes due to another review. Also
fixed the definition of a characteristic skeleton.
2015-08-04 John D. Ramsdell <ramsdell@mitre.org>
* doc/cpsaprimer.tex (section{Macros}\label{sec:macros}): Added
text describing splicing.
2015-07-27 John D. Ramsdell <ramsdell@mitre.org>
* README: Updated to reflect that Haskell Platform should always
be used.
* cpsa.cabal (Version): Tagged as version 2.5.2
2015-07-09 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Graph/ExpandedView.hs (purgeTraces): Added -p flag to
the graph program. When present, the graph program purges traces
in skeletons it prints.
2015-07-08 John D. Ramsdell <ramsdell@mitre.org>
* cpsa.cabal (Version): Tagged as version 2.5.1
2015-06-30 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Basic/Algebra.hs (occursIn): Restricted first argument
of occursIn to variables as the implementation returns incorrect
answers for other cases. The code was called with a variable in
its first argument, so this correction does not change any
results.
2015-06-25 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Lib/Strand.hs (geq): Removed dynamic role specific test
because it erroneously reports violations. The existing static
role specific test correctly does the job.
2015-06-18 John D. Ramsdell <ramsdell@mitre.org>
* doc/{cpsaprimer,cpsagoals}.tex: Repaired errors and made
improvements in response to a review of this document.
2015-05-21 John D. Ramsdell <ramsdell@mitre.org>
* cpsa.cabal (Version): Tagged as version 2.5.0
2015-04-27 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Lib/Loader.hs (ReturnFail): Added ReturnFail Monad so
that fail is correctly handled. Added Functor and Applicative
instance to support GHC 7.10 base library.
2015-04-20 John D. Ramsdell <ramsdell@mitre.org>
* cpsa.cabal (Source-Repository): Added github source repository.
2015-04-10 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Lib/Strand.hs (mkListener): The role used for listener
strands is now the one stored in the protocol. It has a single
variable x of sort mesg as its set of variables. This change
enables satisfaction checking on skeleton that include listeners.
2015-04-02 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Lib/Strand.hs (hull): Removed the hulling by
deorigination mode and returned to the hulling by compression
algorithm. Hulling is only used on the initial preskeleton.
* src/CPSA/SAS/SAS.hs (form): Changed the output form from defsas
to defgoal.
2015-03-30 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Lib/Loader.hs (loadPrimary): Improved the error
messages for ill-formed atomic formulas.
* src/CPSA/SAS/SAS.hs (loadPOV, loadOtherPreskel): Flushed the
check that an atom assumed to uniquely originate must originate in
a skeleton. In this case, cpsasas generates a uniq assertion
rather than a uniq-at assertion.
2015-03-27 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Lib/Loader.hs (findGoal): Allow more than one sentence
in a defgoal.
* src/CPSA/SAS/SAS.hs (Preskel): Added pnon predicate symbol.
* src/CPSA/Lib/Strand.hs (toSkeleton): Added hulling to the
process of converting an input preskeleton into a skeleton.
2015-03-26 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Lib/{Characteristic,Strand,Loader}.hs: Added new
toplevel form: defgoal. The characteristic skeleton of the
antecedent in the goal is extracted and used as the initial
skeleton.
2015-03-24 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Lib/{Reduction,Strand,Loader}.hs: Made it so that when
a shape does not satisfy a goal, an environment showing why is
printed. For each goal, the output is yes when the goal is
satisfied or (no (VAR VAL)...).
2015-03-20 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Lib/{Goal,Strand,Loader}.hs: Added goal loading and
satisfaction checking. When a shape satisfies all goals in a
point-of-view skeleton, the shape is annotated with
(satifies-all-goals).
2015-03-19 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Basic/Algebra.hs (Term): Added node variables and
constants for security goals.
* src/CPSA/SAS/SAS.hs (form): Changed the format of a shape
analysis sentences. Instead of a bare formula, the formula is
wrapped in a defsas form, as in (defsas PROT SAS). Removed the
protocol from role position predicates and parameter predicates.
Replaced function symbols uniq and sprec with uniq-at and str-prec
respectively.
2015-03-17 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/SAS/SAS.hs (displayEq): Use = for function symbol
instead of equal.
2014-11-24 John D. Ramsdell <ramsdell@mitre.org>
* src/prover9.pl: Added missing mesg predicates in output.
2014-11-17 John D. Ramsdell <ramsdell@mitre.org>
* cpsa.cabal (Version): Tagged as version 2.4.0
2014-11-15 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/SAS/SAS.hs (nodeForm): Fixed bug where some role
predicates were mistakenly omitted.
2014-11-13 John D. Ramsdell <ramsdell@mitre.org>
* doc/cpsaspec.tex: Updated the appendix of shape analysis
sentences to agree with what is produced by cpsasas.
2014-11-04 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/SAS/SAS.hs (reduce): Added a function that eliminates
trivial homomorphism equations by substituting equivalent
variables and simplifying.
2014-10-31 John D. Ramsdell <ramsdell@.mitre.org>
* cpsasas: Added a program that produces shape analysis sentences
using the goal language used with protocol transformations. This
language is superior to the one used by the cpsalogic program.
* cpsalogic: Removed this program as it has been replaced with
cpsasas.
2014-09-05 John D. Ramsdell <ramsdell@mitre.org>
* cpsa.cabal (Version): Tagged as version 2.3.5
2014-09-02 John D. Ramsdell <ramsdell@mitre.org>
* src/unsorted.pl (decl_as_pairs): Fixed bug in the case of
variables of sort mesg.
2014-08-25 John D. Ramsdell <ramsdell@mitre.org>
* src/split.py: Added the skeleton split program that copies the
skeletons in a CPSA source file into separate files.
2014-08-23 John D. Ramsdell <ramsdell@mitre.org>
* src/cpsajson.py (load): Added a reader in Python for JSON
produced by CPSA's pretty printer program cpsa3pp -j.
2014-08-21 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/JSON/Main.hs: Added the program cpsajson that
translates JSON encoded CPSA into CPSA S-Expressions. It expects
the JSON input to follow the conventions of the JSON produced by
the cpsapp program when given the -j option.
* src/CPSA/Lib/SExpr.hs (numOrSym): Enabled parsing a number with
a plus sign by removing the sign before translating the string of
digits into a number.
2014-06-06 John D. Ramsdell <ramsdell@mitre.org>
* cpsa.cabal (Version): Tagged as version 2.3.4
* doc/cpsauser.html: Commented out Diffie-Hellman algebra
description.
* src/CPSA/Lib/Main.hs (useDiffieHellman): Added a compile time
switch that is used to disable the Diffie-Hellman algebra in a
release.
2014-04-30 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Lib/Expand.hs: Added splicing to the macro expander.
The splice symbol is ^.
2014-04-21 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/DiffieHellman/Algebra.hs (agSolve): Added missing omit
when generating new equation.
* src/CPSA/DiffieHellman/Algebra.hs (genVars): Removed code that
conditionally generates new variables because the condition was
not reliable.
2014-03-07 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/DiffieHellman/Algebra.hs: Changed the sort structure
of exponents. The sort of exponents is now expr, and there is as
subsort for basis elements called expn. Unification and matching
have been change so as to respect this sort structure. This
change allows CPSA to solve Diffie-Hellman key exchange.
2014-02-26 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Lib/Algebra.hs (specialize): Expunged specialize from
the interface and the algebras.
2014-02-25 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/DiffieHellman/Algebra.hs (isAcquiredVar): Changed the
definition so that both variables of sort base and sort mesg are
acquired.
* src/CPSA/Lib/Algebra.hs (Term): Renamed isMesgVar to
isAcquiredVar.
2014-02-24 John D. Ramsdell <ramsdell@mitre.org>
* cpsa.cabal: Expunged Simple Diffie-Hellman and
Diffie-Hellman No Reciprocal algebras.
2014-02-06 John D. Ramsdell <ramsdell@mitre.org>
* cpsa.cabal (Version): Tagged as version 2.3.3
2014-02-05 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Lib/Strand.hs: Purged code for pruning.
* doc/cpsaspec.tex: Documented thinning and removed material on
pruning.
2014-02-04 John D. Ramsdell <ramsdell@mitre.org>
* src/CPSA/Lib/Strand.hs (useThinning): Set flag to True so as use
thinning by default.
2014-01-07 John D. Ramsdell <ramsdell@mitre.org>
* cpsa.cabal (Version): Tagged as version 2.3.2
2013-12-27 John D. Ramsdell <ramsdell@mitre.org>