@@ -311,7 +311,6 @@ jobs:
311
311
# windows-latest,
312
312
ubuntu-22.04,
313
313
]
314
- encrypting_language : [java, net, rust, python, go, c]
315
314
decrypting_language : [java, net, rust, python, go, c]
316
315
# https://taskei.amazon.dev/tasks/CrypTool-5284
317
316
dotnet-version : ["6.0.x"]
@@ -549,10 +548,169 @@ jobs:
549
548
CORES=$(node -e 'console.log(os.cpus().length)')
550
549
make transpile_python CORES=$CORES
551
550
551
+ # TestVectors will call KMS
552
+ - name : Configure AWS Credentials
553
+ uses : aws-actions/configure-aws-credentials@v2
554
+ with :
555
+ aws-region : us-west-2
556
+ role-to-assume : arn:aws:iam::370957321024:role/GitHub-CI-Public-ESDK-Dafny-Role-us-west-2
557
+ role-session-name : InterOpTests
558
+ role-duration-seconds : 7200
559
+
560
+ - name : Download Encrypt Manifest Artifact
561
+ uses : actions/download-artifact@v4
562
+ with :
563
+ name : ${{matrix.os}}_vector_artifact_java_${{github.sha}}
564
+ path : ./${{matrix.library}}/runtimes/${{matrix.decrypting_language}}
565
+
566
+ - name : Decrypt Encrypt Manifest
567
+ if : matrix.decrypting_language != 'c'
568
+ working-directory : ./${{ matrix.library }}
569
+ run : make test_decrypt_encrypt_vectors_${{matrix.decrypting_language}}
570
+
571
+ - name : Decrypt Encrypt Manifest
572
+ if : matrix.decrypting_language == 'c' && matrix.os == 'ubuntu-22.04'
573
+ working-directory : ./${{ matrix.library }}
574
+ run : make test_decrypt_encrypt_vectors_c_unix
575
+
576
+ - name : Decrypt Encrypt Manifest
577
+ if : matrix.decrypting_language == 'c' && matrix.os != 'ubuntu-22.04'
578
+ working-directory : ./${{ matrix.library }}
579
+ run : make test_decrypt_encrypt_vectors_c_mac
580
+
581
+ # TestVectors will call KMS
582
+ - name : Configure AWS Credentials
583
+ uses : aws-actions/configure-aws-credentials@v2
584
+ with :
585
+ aws-region : us-west-2
586
+ role-to-assume : arn:aws:iam::370957321024:role/GitHub-CI-Public-ESDK-Dafny-Role-us-west-2
587
+ role-session-name : InterOpTests
588
+ role-duration-seconds : 7200
589
+
590
+ - name : Download Encrypt Manifest Artifact
591
+ uses : actions/download-artifact@v4
592
+ with :
593
+ name : ${{matrix.os}}_vector_artifact_net_${{github.sha}}
594
+ path : ./${{matrix.library}}/runtimes/${{matrix.decrypting_language}}
595
+
596
+ - name : Decrypt Encrypt Manifest
597
+ if : matrix.decrypting_language != 'c'
598
+ working-directory : ./${{ matrix.library }}
599
+ run : make test_decrypt_encrypt_vectors_${{matrix.decrypting_language}}
600
+
601
+ - name : Decrypt Encrypt Manifest
602
+ if : matrix.decrypting_language == 'c' && matrix.os == 'ubuntu-22.04'
603
+ working-directory : ./${{ matrix.library }}
604
+ run : make test_decrypt_encrypt_vectors_c_unix
605
+
606
+ - name : Decrypt Encrypt Manifest
607
+ if : matrix.decrypting_language == 'c' && matrix.os != 'ubuntu-22.04'
608
+ working-directory : ./${{ matrix.library }}
609
+ run : make test_decrypt_encrypt_vectors_c_mac
610
+
611
+ # TestVectors will call KMS
612
+ - name : Configure AWS Credentials
613
+ uses : aws-actions/configure-aws-credentials@v2
614
+ with :
615
+ aws-region : us-west-2
616
+ role-to-assume : arn:aws:iam::370957321024:role/GitHub-CI-Public-ESDK-Dafny-Role-us-west-2
617
+ role-session-name : InterOpTests
618
+ role-duration-seconds : 7200
619
+
620
+ - name : Download Encrypt Manifest Artifact
621
+ uses : actions/download-artifact@v4
622
+ with :
623
+ name : ${{matrix.os}}_vector_artifact_rust_${{github.sha}}
624
+ path : ./${{matrix.library}}/runtimes/${{matrix.decrypting_language}}
625
+
626
+ - name : Decrypt Encrypt Manifest
627
+ if : matrix.decrypting_language != 'c'
628
+ working-directory : ./${{ matrix.library }}
629
+ run : make test_decrypt_encrypt_vectors_${{matrix.decrypting_language}}
630
+
631
+ - name : Decrypt Encrypt Manifest
632
+ if : matrix.decrypting_language == 'c' && matrix.os == 'ubuntu-22.04'
633
+ working-directory : ./${{ matrix.library }}
634
+ run : make test_decrypt_encrypt_vectors_c_unix
635
+
636
+ - name : Decrypt Encrypt Manifest
637
+ if : matrix.decrypting_language == 'c' && matrix.os != 'ubuntu-22.04'
638
+ working-directory : ./${{ matrix.library }}
639
+ run : make test_decrypt_encrypt_vectors_c_mac
640
+
641
+ # TestVectors will call KMS
642
+ - name : Configure AWS Credentials
643
+ uses : aws-actions/configure-aws-credentials@v2
644
+ with :
645
+ aws-region : us-west-2
646
+ role-to-assume : arn:aws:iam::370957321024:role/GitHub-CI-Public-ESDK-Dafny-Role-us-west-2
647
+ role-session-name : InterOpTests
648
+ role-duration-seconds : 7200
649
+
650
+ - name : Download Encrypt Manifest Artifact
651
+ uses : actions/download-artifact@v4
652
+ with :
653
+ name : ${{matrix.os}}_vector_artifact_python_${{github.sha}}
654
+ path : ./${{matrix.library}}/runtimes/${{matrix.decrypting_language}}
655
+
656
+ - name : Decrypt Encrypt Manifest
657
+ if : matrix.decrypting_language != 'c'
658
+ working-directory : ./${{ matrix.library }}
659
+ run : make test_decrypt_encrypt_vectors_${{matrix.decrypting_language}}
660
+
661
+ - name : Decrypt Encrypt Manifest
662
+ if : matrix.decrypting_language == 'c' && matrix.os == 'ubuntu-22.04'
663
+ working-directory : ./${{ matrix.library }}
664
+ run : make test_decrypt_encrypt_vectors_c_unix
665
+
666
+ - name : Decrypt Encrypt Manifest
667
+ if : matrix.decrypting_language == 'c' && matrix.os != 'ubuntu-22.04'
668
+ working-directory : ./${{ matrix.library }}
669
+ run : make test_decrypt_encrypt_vectors_c_mac
670
+
671
+ # TestVectors will call KMS
672
+ - name : Configure AWS Credentials
673
+ uses : aws-actions/configure-aws-credentials@v2
674
+ with :
675
+ aws-region : us-west-2
676
+ role-to-assume : arn:aws:iam::370957321024:role/GitHub-CI-Public-ESDK-Dafny-Role-us-west-2
677
+ role-session-name : InterOpTests
678
+ role-duration-seconds : 7200
679
+
680
+ - name : Download Encrypt Manifest Artifact
681
+ uses : actions/download-artifact@v4
682
+ with :
683
+ name : ${{matrix.os}}_vector_artifact_go_${{github.sha}}
684
+ path : ./${{matrix.library}}/runtimes/${{matrix.decrypting_language}}
685
+
686
+ - name : Decrypt Encrypt Manifest
687
+ if : matrix.decrypting_language != 'c'
688
+ working-directory : ./${{ matrix.library }}
689
+ run : make test_decrypt_encrypt_vectors_${{matrix.decrypting_language}}
690
+
691
+ - name : Decrypt Encrypt Manifest
692
+ if : matrix.decrypting_language == 'c' && matrix.os == 'ubuntu-22.04'
693
+ working-directory : ./${{ matrix.library }}
694
+ run : make test_decrypt_encrypt_vectors_c_unix
695
+
696
+ - name : Decrypt Encrypt Manifest
697
+ if : matrix.decrypting_language == 'c' && matrix.os != 'ubuntu-22.04'
698
+ working-directory : ./${{ matrix.library }}
699
+ run : make test_decrypt_encrypt_vectors_c_mac
700
+
701
+ # TestVectors will call KMS
702
+ - name : Configure AWS Credentials
703
+ uses : aws-actions/configure-aws-credentials@v2
704
+ with :
705
+ aws-region : us-west-2
706
+ role-to-assume : arn:aws:iam::370957321024:role/GitHub-CI-Public-ESDK-Dafny-Role-us-west-2
707
+ role-session-name : InterOpTests
708
+ role-duration-seconds : 7200
709
+
552
710
- name : Download Encrypt Manifest Artifact
553
711
uses : actions/download-artifact@v4
554
712
with :
555
- name : ${{matrix.os}}_vector_artifact_${{matrix.encrypting_language}}_ ${{github.sha}}
713
+ name : ${{matrix.os}}_vector_artifact_c_ ${{github.sha}}
556
714
path : ./${{matrix.library}}/runtimes/${{matrix.decrypting_language}}
557
715
558
716
- name : Decrypt Encrypt Manifest
0 commit comments