Comments (4)
It is an interesting question. Looking at the ACVP spec, the protocol version is advertised explicitly in the registration step. Furthermore, each protocol message has a version attribute. It seems to me that once the server accepts the registration and assigns a session, implicitly all the exchanges in that session will be following that version of the protocol. A single URI would still work to support multiple ACVP versions, perhaps with a slightly different server architecture. I am thinking of a public-facing proxy that first detects the desired protocol version and forwards it to a corresponding back-end server, implicitly for the client. NIST could then deploy several back-end servers, each servicing a particular version of the protocol. In turn, each such server may rely on other supporting servers/resources that may or may not be protocol-dependent.
Bottom line: I don't see much of an advantage to add the version to the URI.
from acvp.
The advantage would be flexibility in deployment. For instance, there could be two servers running. One for version 1.0 of the spec, and another for version 2.0. If the URI were different, it's easy to configure a proxy to send the requests to the appropriate server.
On the other hand, if all requests for v1.0 and v2.0 have to be handled by the same server, then the version branching logic based needs to be contained in a single server. When the version isn't in the URI, a proxy wouldn't be able to direct the request to a different server based on the version. This not only limits deployment options, it complicates to the server code.
There is a precedent for this approach. Please see section 2.1 in
https://tools.ietf.org/html/draft-lear-mud-framework-00
from acvp.
I see your point about the complexity of the proxy. Certainly, in the case of a single server detecting the protocol version that server would have to look into the messages to decide how to branch the traffic, which may be involved, like decrypting TLS traffic. I don't necessarily view this as a disadvantage though as it seems to allow for a stricter server-side checking of client input.
In this model, when a client v2.0 packet comes, it will get directed to a v2.0 server for processing. In your model a client may decide to send a v2.0 message to a v1.0 server either by mistake or a malice. The proxy will direct the packet directly to the server of client's choice by virtue of the URI. This may be tricky.
from acvp.
Closing this issue as we have settled on the approach to not include the version in the URI.
from acvp.
Related Issues (20)
- RSA 186-5 KeyGen Failures HOT 4
- KAS-ECC: fixedInfoPattern restrictions HOT 16
- RSADP 56Br2 Implementation: Public Exponent HOT 25
- RSA OAEP Decryption per SP800-56Br2 HOT 1
- HKDF fixed info 'L' field explicit size requirement HOT 4
- A module's vendor and contact HOT 1
- AES-XTS tweakValue's ending in FF inconsistent behaviour HOT 6
- RSA SignaturePrimitive 2.0: Extra "signature" field in table HOT 1
- KDF 108 middle fixed data chaniging HOT 13
- RSA KeyGen modulus sizes HOT 4
- SHA1/SHA2 Alternate MCT Test Pseudo Code HOT 4
- RSA KeyGen B.3.5 HOT 4
- Can/Should A Request be Cancelled?
- X25519/X448 testing HOT 1
- TLS 1.0/1.1 extended master secret testing HOT 2
- What is RSA primeTest 2powSecStr stands for? HOT 2
- ECDSA PKV sample prompt HOT 2
- KDA Two Step SP800-56CR2 Counter Length Options Seem to Require 0 HOT 2
- Strange behavior for EdDSA SigGen contextLength HOT 6
- FIPS 186-5 RSA keygen testing question about selection of pmod8 and qmod8 values HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acvp.