udap_security_test_kit 0.11.1 → 0.11.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/config/presets/UDAP_RunClientAgainstServer.json.erb +20 -0
 - data/config/presets/UDAP_RunServerAgainstClient.json.erb +272 -0
 - data/lib/udap_security_test_kit/client_credentials_token_exchange_test.rb +1 -1
 - data/lib/udap_security_test_kit/client_suite/client_access_group.rb +22 -0
 - data/lib/udap_security_test_kit/client_suite/client_access_interaction_test.rb +53 -0
 - data/lib/udap_security_test_kit/client_suite/client_registration_group.rb +26 -0
 - data/lib/udap_security_test_kit/client_suite/client_registration_interaction_test.rb +50 -0
 - data/lib/udap_security_test_kit/client_suite/client_registration_verification_test.rb +244 -0
 - data/lib/udap_security_test_kit/client_suite/client_token_request_verification_test.rb +178 -0
 - data/lib/udap_security_test_kit/client_suite/client_token_use_verification_test.rb +43 -0
 - data/lib/udap_security_test_kit/client_suite.rb +78 -0
 - data/lib/udap_security_test_kit/docs/demo/FHIR Request.postman_collection.json +81 -0
 - data/lib/udap_security_test_kit/docs/udap_client_suite_description.md +120 -0
 - data/lib/udap_security_test_kit/endpoints/echoing_fhir_responder.rb +52 -0
 - data/lib/udap_security_test_kit/endpoints/mock_udap_server/registration.rb +57 -0
 - data/lib/udap_security_test_kit/endpoints/mock_udap_server/token.rb +27 -0
 - data/lib/udap_security_test_kit/endpoints/mock_udap_server.rb +301 -0
 - data/lib/udap_security_test_kit/metadata.rb +5 -5
 - data/lib/udap_security_test_kit/tags.rb +8 -0
 - data/lib/udap_security_test_kit/urls.rb +45 -0
 - data/lib/udap_security_test_kit/version.rb +2 -1
 - data/lib/udap_security_test_kit.rb +8 -2
 - metadata +20 -2
 
| 
         @@ -1,3 +1,4 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require_relative 'udap_security_test_kit/client_suite'
         
     | 
| 
       1 
2 
     | 
    
         
             
            require_relative 'udap_security_test_kit/authorization_code_group'
         
     | 
| 
       2 
3 
     | 
    
         
             
            require_relative 'udap_security_test_kit/client_credentials_group'
         
     | 
| 
       3 
4 
     | 
    
         
             
            require_relative 'udap_security_test_kit/redirect_uri'
         
     | 
| 
         @@ -6,7 +7,7 @@ require_relative 'udap_security_test_kit/metadata' 
     | 
|
| 
       6 
7 
     | 
    
         
             
            module UDAPSecurityTestKit
         
     | 
| 
       7 
8 
     | 
    
         
             
              class Suite < Inferno::TestSuite
         
     | 
| 
       8 
9 
     | 
    
         
             
                id :udap_security
         
     | 
| 
       9 
     | 
    
         
            -
                title 'UDAP Security'
         
     | 
| 
      
 10 
     | 
    
         
            +
                title 'UDAP Security Server'
         
     | 
| 
       10 
11 
     | 
    
         
             
                description %(
         
     | 
| 
       11 
12 
     | 
    
         
             
                  The User Data Access Protocol (UDAP) Security test kit verifies that systems correctly implement the
         
     | 
| 
       12 
13 
     | 
    
         
             
                  [HL7 UDAP Security IG](http://hl7.org/fhir/us/udap-security/STU1/)
         
     | 
| 
         @@ -28,7 +29,7 @@ module UDAPSecurityTestKit 
     | 
|
| 
       28 
29 
     | 
    
         
             
                  Testers may test one or both flows based on their system under test.
         
     | 
| 
       29 
30 
     | 
    
         | 
| 
       30 
31 
     | 
    
         
             
                  This test suite does NOT assess [Tiered OAuth for User Authentication](https://hl7.org/fhir/us/udap-security/STU1/user.html)
         
     | 
| 
       31 
     | 
    
         
            -
                  (which is not a required capability) 
     | 
| 
      
 32 
     | 
    
         
            +
                  (which is not a required capability).
         
     | 
| 
       32 
33 
     | 
    
         
             
                )
         
     | 
| 
       33 
34 
     | 
    
         | 
| 
       34 
35 
     | 
    
         
             
                input_instructions %(
         
     | 
| 
         @@ -74,6 +75,11 @@ module UDAPSecurityTestKit 
     | 
|
| 
       74 
75 
     | 
    
         
             
                    type: 'download',
         
     | 
| 
       75 
76 
     | 
    
         
             
                    label: 'Download',
         
     | 
| 
       76 
77 
     | 
    
         
             
                    url: 'https://github.com/inferno-framework/udap-security-test-kit/releases/'
         
     | 
| 
      
 78 
     | 
    
         
            +
                  },
         
     | 
| 
      
 79 
     | 
    
         
            +
                  {
         
     | 
| 
      
 80 
     | 
    
         
            +
                    type: 'ig',
         
     | 
| 
      
 81 
     | 
    
         
            +
                    label: 'Implementation Guide',
         
     | 
| 
      
 82 
     | 
    
         
            +
                    url: 'https://hl7.org/fhir/us/udap-security/STU1/'
         
     | 
| 
       77 
83 
     | 
    
         
             
                  }
         
     | 
| 
       78 
84 
     | 
    
         
             
                ]
         
     | 
| 
       79 
85 
     | 
    
         | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: udap_security_test_kit
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.11. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.11.3
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Stephen MacVicar
         
     | 
| 
         @@ -9,7 +9,7 @@ authors: 
     | 
|
| 
       9 
9 
     | 
    
         
             
            autorequire:
         
     | 
| 
       10 
10 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       11 
11 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       12 
     | 
    
         
            -
            date: 2025- 
     | 
| 
      
 12 
     | 
    
         
            +
            date: 2025-04-07 00:00:00.000000000 Z
         
     | 
| 
       13 
13 
     | 
    
         
             
            dependencies:
         
     | 
| 
       14 
14 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       15 
15 
     | 
    
         
             
              name: inferno_core
         
     | 
| 
         @@ -48,6 +48,8 @@ extra_rdoc_files: [] 
     | 
|
| 
       48 
48 
     | 
    
         
             
            files:
         
     | 
| 
       49 
49 
     | 
    
         
             
            - LICENSE
         
     | 
| 
       50 
50 
     | 
    
         
             
            - config/presets/SureFhirIdentityMatchingDemo.json
         
     | 
| 
      
 51 
     | 
    
         
            +
            - config/presets/UDAP_RunClientAgainstServer.json.erb
         
     | 
| 
      
 52 
     | 
    
         
            +
            - config/presets/UDAP_RunServerAgainstClient.json.erb
         
     | 
| 
       51 
53 
     | 
    
         
             
            - lib/udap_security_test_kit.rb
         
     | 
| 
       52 
54 
     | 
    
         
             
            - lib/udap_security_test_kit/authorization_code_authentication_group.rb
         
     | 
| 
       53 
55 
     | 
    
         
             
            - lib/udap_security_test_kit/authorization_code_group.rb
         
     | 
| 
         @@ -62,10 +64,24 @@ files: 
     | 
|
| 
       62 
64 
     | 
    
         
             
            - lib/udap_security_test_kit/client_credentials_authentication_group.rb
         
     | 
| 
       63 
65 
     | 
    
         
             
            - lib/udap_security_test_kit/client_credentials_group.rb
         
     | 
| 
       64 
66 
     | 
    
         
             
            - lib/udap_security_test_kit/client_credentials_token_exchange_test.rb
         
     | 
| 
      
 67 
     | 
    
         
            +
            - lib/udap_security_test_kit/client_suite.rb
         
     | 
| 
      
 68 
     | 
    
         
            +
            - lib/udap_security_test_kit/client_suite/client_access_group.rb
         
     | 
| 
      
 69 
     | 
    
         
            +
            - lib/udap_security_test_kit/client_suite/client_access_interaction_test.rb
         
     | 
| 
      
 70 
     | 
    
         
            +
            - lib/udap_security_test_kit/client_suite/client_registration_group.rb
         
     | 
| 
      
 71 
     | 
    
         
            +
            - lib/udap_security_test_kit/client_suite/client_registration_interaction_test.rb
         
     | 
| 
      
 72 
     | 
    
         
            +
            - lib/udap_security_test_kit/client_suite/client_registration_verification_test.rb
         
     | 
| 
      
 73 
     | 
    
         
            +
            - lib/udap_security_test_kit/client_suite/client_token_request_verification_test.rb
         
     | 
| 
      
 74 
     | 
    
         
            +
            - lib/udap_security_test_kit/client_suite/client_token_use_verification_test.rb
         
     | 
| 
       65 
75 
     | 
    
         
             
            - lib/udap_security_test_kit/common_assertions.rb
         
     | 
| 
       66 
76 
     | 
    
         
             
            - lib/udap_security_test_kit/default_cert_file_loader.rb
         
     | 
| 
       67 
77 
     | 
    
         
             
            - lib/udap_security_test_kit/discovery_group.rb
         
     | 
| 
      
 78 
     | 
    
         
            +
            - lib/udap_security_test_kit/docs/demo/FHIR Request.postman_collection.json
         
     | 
| 
      
 79 
     | 
    
         
            +
            - lib/udap_security_test_kit/docs/udap_client_suite_description.md
         
     | 
| 
       68 
80 
     | 
    
         
             
            - lib/udap_security_test_kit/dynamic_client_registration_group.rb
         
     | 
| 
      
 81 
     | 
    
         
            +
            - lib/udap_security_test_kit/endpoints/echoing_fhir_responder.rb
         
     | 
| 
      
 82 
     | 
    
         
            +
            - lib/udap_security_test_kit/endpoints/mock_udap_server.rb
         
     | 
| 
      
 83 
     | 
    
         
            +
            - lib/udap_security_test_kit/endpoints/mock_udap_server/registration.rb
         
     | 
| 
      
 84 
     | 
    
         
            +
            - lib/udap_security_test_kit/endpoints/mock_udap_server/token.rb
         
     | 
| 
       69 
85 
     | 
    
         
             
            - lib/udap_security_test_kit/grant_types_supported_field_test.rb
         
     | 
| 
       70 
86 
     | 
    
         
             
            - lib/udap_security_test_kit/igs/put_ig_package_dot_tgz_here
         
     | 
| 
       71 
87 
     | 
    
         
             
            - lib/udap_security_test_kit/metadata.rb
         
     | 
| 
         @@ -81,6 +97,7 @@ files: 
     | 
|
| 
       81 
97 
     | 
    
         
             
            - lib/udap_security_test_kit/signed_metadata_field_test.rb
         
     | 
| 
       82 
98 
     | 
    
         
             
            - lib/udap_security_test_kit/signed_metadata_trust_verification_test.rb
         
     | 
| 
       83 
99 
     | 
    
         
             
            - lib/udap_security_test_kit/software_statement_builder.rb
         
     | 
| 
      
 100 
     | 
    
         
            +
            - lib/udap_security_test_kit/tags.rb
         
     | 
| 
       84 
101 
     | 
    
         
             
            - lib/udap_security_test_kit/token_endpoint_auth_methods_supported_field_test.rb
         
     | 
| 
       85 
102 
     | 
    
         
             
            - lib/udap_security_test_kit/token_endpoint_auth_signing_alg_values_supported_field_test.rb
         
     | 
| 
       86 
103 
     | 
    
         
             
            - lib/udap_security_test_kit/token_endpoint_field_test.rb
         
     | 
| 
         @@ -97,6 +114,7 @@ files: 
     | 
|
| 
       97 
114 
     | 
    
         
             
            - lib/udap_security_test_kit/udap_request_builder.rb
         
     | 
| 
       98 
115 
     | 
    
         
             
            - lib/udap_security_test_kit/udap_versions_supported_field_test.rb
         
     | 
| 
       99 
116 
     | 
    
         
             
            - lib/udap_security_test_kit/udap_x509_certificate.rb
         
     | 
| 
      
 117 
     | 
    
         
            +
            - lib/udap_security_test_kit/urls.rb
         
     | 
| 
       100 
118 
     | 
    
         
             
            - lib/udap_security_test_kit/version.rb
         
     | 
| 
       101 
119 
     | 
    
         
             
            - lib/udap_security_test_kit/well_known_endpoint_test.rb
         
     | 
| 
       102 
120 
     | 
    
         
             
            homepage: https://github.com/inferno-framework/udap-security-test-kit
         
     |