Comments (3)
Another option is to use SPDM-Utils. Like spdm-emu it uses libspdm but is aimed at testing real devices instead of emulators.
SPDM-Utils can currently communicate with a SPDM device over PCIe DOE. We don't yet have MCTP support, but we are working on it. It should be pretty easy for you to extend SPDM-Utils to support MCTP as well
from spdm-emu.
spdm-emu is just an emulation program running on Windows/Linux OS environment with TCP/IP.
If you want to use it MCTP, then it is NOT an emulation. It is a real platform environment.
You need to write your own device layer function to send/receive function.
See https://github.com/DMTF/libspdm/blob/main/doc/user_guide.md#spdm-responder
0.5, implement required SPDM device IO functions - libspdm_device_send_message_func and libspdm_device_receive_message_func according to spdm_common_lib.
from spdm-emu.
If I run --trans MCTP it still does everything as tcp/ip.
MCTP supports a socket layer, so instead of listening on tcp, it should listen on an MCTP socket, like the echo listener here:
https://github.com/CodeConstruct/mctp/blob/main/src/mctp-echo.c
But all the socket calls are TCP/IP.
Is this a change in how it was intended to be used?
from spdm-emu.
Related Issues (20)
- The PortIndex field must contain the PortIndex field value from the corresponding QUERY.
- Need to clear IDE KEY after IDE_KM message is sent.
- add responder-validator to CI
- Issue with Release folder creation on Windows environment. HOT 2
- Add tdisp_context for TDISP library
- should not use interface_id from requester in get_version
- Please provide use case to test SPDM 1.2 commands
- need to update super-project-pointer of SPDM-Responder-Validator
- Spdm-emu should read corresponding cert according to alias_cert model the when set cert
- How can responder know when it needs to reply "RESPOND_NOT_READY" respond? HOT 1
- remove MULTI_KEY_CAP if PUB_KEY_ID is used.
- Error when running ./spdm_responder_emu --cap CERT,MEAS_NO_SIG,CHAL on SPDM_NEGOTIATE_ALGORITHMS HOT 1
- clear GET_KEY_PAIR_INFO and SET_KEY_PAIR_INFO if PUB_KEY_ID is set
- Need add support for LIBSPDM_ENABLE_VENDOR_DEFINED_MESSAGES HOT 7
- spdm_responder_lib cannot identify capability conflict of DATA_TRANSFER_SIZE and MAX_SPDM_MSG_SIZE for SPDM version 1.0 & 1.1 HOT 4
- [Enhancement] Some hardcode should be updated
- Enquiry for ERROR Param 1 & 2 before GET_CAPABILITIES HOT 1
- spdm-emu contribution HOT 2
- Build error on aarch64 & GCC toolchain (maccumulate-outgoing-args, mno-red-zone) HOT 1
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 spdm-emu.