Repository navigation
Commit bf38e17
authored
test(go): the two plan rules NewPlan leaves to the record call are refused there
cipherstash-bot, on PR #1093: NewPlan documents two rules it leaves to the
call — every field under one table, no two fields under one label — and no
Go test showed the call refusing them. One does now, on an uninitialised
guest: both plans build, and EncryptRecords and DecryptRecord each refuse
them as ErrEncoding before looking for a cipher. If the guest's refusal
ever stops being the caller's input, this is the test that says so.
Claude-Session: https://claude.ai/code/session_01V3WFXwax4J3uecpFEJ6yHc1 parent e0c0a04 commit bf38e17
1 file changed
Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
762 | 762 | | |
763 | 763 | | |
764 | 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 | + | |
765 | 805 | | |
766 | 806 | | |
767 | 807 | | |
| |||
0 commit comments