Submitted:
26 May 2025
Posted:
27 May 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
- Consistency: Data objects should be consistent throughout the supply chain and should be verifiable so at any stage, the data consumer can verify its correctness and ensure data objects integrity.
- Data ownership: This control empowers data owners with the ability to manage their data which is a fundamental principle in privacy and data protection. This approach aligns with the principles of privacy by design. Solution should provide a robust and transparent mechanism for individuals to control and consent to the use of their data. It also supports compliance with data protection regulations that emphasize the importance of informed and verifiable consent.
- Controlled exposure of data: It emphasis on sharing only necessary data and implementing security controls aligns with the principles of data minimization and a risk-based approach to data sharing. By incorporating these security controls and principles, livestock owners can strike a balance between facilitating necessary data sharing for business purposes and safeguarding the privacy and security of data owners.
- Data Analytics Facilitating comprehensive and accurate data collection and analysis within and across stakeholders to enhance livestock management through predictive analytics, while addressing security and trust-related challenges in AI-driven cross-stakeholder data aggregation.
- Enhanced security and privacy: The emphasis on data security, integrity, and privacy is crucial, especially when dealing with sensitive information and shared with partners through open data sharing platform.
- Human centric approach: The human-centric approach empowers the individuals to manage and control their own data when publishing their data through data sharing platform.
- Decentralized trusted infrastructure: Provide trusted infrastructure for achieving resilience in verification of shared objects to support trusted environments for all stakeholders.
- System resilience: The system is based on the decentralized architecture therefore the system inherently will provide resiliency features.
- Seamless collaboration across supply chain: The platform’s ability to bridge organizational boundaries can foster collaboration on a broader scale. This is particularly important in the livestock industry and supply chain, where collaboration between different entities and stakeholder is often necessary for effective utilisation of the shared data.
2. Background and Existing Approaches
2.1. Security Challenges in Agriculture Data Sharing
2.2. Blockchain Enabled Traceability Solutions
2.3. Selective Disclosure and Verifiable Credentials
- AnonCreds with Camenisch-Lysyanskaya (CL) signature[31]: This approach follows the AnonCreds data models and heavily relies on the CL signature scheme. The CL signature [7,8] utilizes the RSA algorithm, which takes time to generate a signature, and the key size is significantly large, leading to inefficiencies. To increase efficiency, AnonCreds employs the BBS+ signature, which is based on pairing-based elliptic-curve cryptography. This method is efficient as it uses shorter keys and signatures without compromising security[6].
- ISO/IEC 18013-5:2021: This is an ISO standard used for Personal Identification, Mobile Driving License (mDL) and their applications. The mDL relies on hash-based techniques with its own data model. This approach is simple, efficient, and easy to implement[9].
- Selective Disclosure - Verifiable Credentials (SD-VC)[21]: It represent a proposed standard by the World Wide Web Consortium (W3C) that is extensively utilized in the realm of digital identities. This standard leverages the Verifiable Credentials data model in conjunction with selective disclosure techniques, which can be either hash-based or digital signature-based, to enable granular and secure information sharing. The SD-VC standard operates on the Verifiable Credentials Data Model, providing a framework for expressing credentials in a way that is cryptographically secure, ensures privacy, and is machine-verifiable. The selective disclosure techniques allow for the selective sharing of specific data elements within a credential without disclosing the entire credential. These techniques use either hash-based selective disclosure or digital signature-based selective disclosure. By integrating these components, the SD-VC standard enhances privacy and security in digital identity management, enabling individuals to control the disclosure of their personal information efficiently.
3. Usecase Description
4. FLEX: Framework for Livestock Empowerment and Decentralized Secure Data eXchange
4.1. Business Layer
4.2. Trusted Persistence Layer
-
TAPI: Traceable Application Programming Interfaces TAPI, or Traceable Application Programming Interfaces, functions as a business layer wallet, managing user credentials and maintaining a direct connection with the trusted layer for executing transactions on the decentralized trusted layer. It oversees user accounts and credentials necessary for interaction with the distributed ledger.User Account Management: Any user can create an account, but only organizational owners with specific privileges can assign access rights for business-specific actions. Typical user roles include Employee, Observer, and Veterinarian. Smart Contract Interface: TAPI also interfaces with a smart contract responsible for managing traceable information. Pre-transaction rules, implemented within the smart contract, are executed prior to transacting the identity of objects (in this use case, the identity of animals).
- VDR: Verified Digital Registry Upon user registration, VDR generates asymmetric credentials using the RSA algorithm and registers the user’s public key along with their blockchain address. Once a user is assigned a specific role by the owner, these public credentials are recognized as trusted credentials, allowing the user to perform various transactions and actions on the distributed ledger.
- IPFS - Middleware for Off-Chain Data Management The InterPlanetary File System (IPFS) middleware consists of a set of libraries acting as intermediaries between users and the IPFS open network for shared information storage. In the proposed architecture, the IPFS middleware supports off-chain data management, ensuring efficient and secure handling of data not stored directly on the blockchain. The Trusted Persistent Layer, through its middleware components TAPI and VDR, provides a robust framework for managing user credentials and transactions within a trusted infrastructure. The integration of IPFS for off-chain data management further enhances the system’s capability, ensuring that business entities can operate effectively across various trusted infrastructures.
4.3. Trust Infrastructure Layer
- Ethereum Network: The Ethereum node operates on the standard Ethereum network, where the Verifiable Data (VD) and Traceability smart contracts are deployed. The addresses of these contracts, along with the network ID, are disseminated to nodes interested in joining. As this is a permissionless network, any entity can participate. The network is exclusively utilized for managing Verifiable Data Registry (VDR) and traceability transactional data.
- IPFS Network: The IPFS node employs standard IPFS components to store data while ensuring its integrity. This component is interchangeable with other systems, as the data formatting standards used inherently ensure data integrity.
4.4. System Protocols and Flows
-
Initial bootstrap: The system begins with an initial bootstrap phase, during which the system owner establishes the decentralized network and configures the InterPlanetary File System (IPFS). Subsequently, the owner deploys the Verifiable Data Registry (VDR) and Traceability smart contracts onto the distributed ledger nodes. Detailed information regarding these smart contracts can be accessed in the project’s repository on Git1.The system owner is responsible for assigning administrative roles to the operators of each organization within the network. These administrators are authorized to perform the following designated operations:
- Assigns roles to their employees: As the identity and role is the basic of the system therefore the owner assigns roles to the employees for performing designated functions. These roles vary from organization to organization but for the completeness of our proof of concepts, admin assign roles shown in the architecture diagram within their organization.
- Create identity of newly born animal or any other object that need traceability: The admin of the organization creates identity of each animal in the DLT (through TAPI) which is born at the farm or received identities when an animal transferred from another farm. This identity comprises on various attributes which logical defined a physical animal.
- Transaction registration: The admin of the organization registers a transaction in the distributed eldger network when an animal is moved from one farm to the other farm or to the other location. It also uploads associated objects on the IPFS which provides detailed information about the animal treatment, feeding and movement. Each transaction contains references of all these objects uploaded on the IPFS for reference retrieval purposes.
- Data Exchange Protocol: Data exchange protocol is the main flow of the proposed solution which is further divided into two main flows, used for data and security perimeter exchanges. (i) Data Sharing Flow and (ii) Data Retrieval Flow. In the Data Sharing flow, the originator of the data selects the type of information, he wants to share and then selects who can assess it. We defined various access levels. For example the previous owner, the recipient, both or any person in the traceability chain of the identity.

5. Analytics - Value Added Services
5.1. Key Performance Indicators and Calculations - Optimal Growth Parameters
Total Weight Gain (TWG):
Number of Days Elapsed (NDL):
Average Daily Gain (ADG):
Days-to-Market (DtM):
Feed Consumption Ratio (FCR):
Total Estimated Feed (TEF):
5.2. Growth Rate Tracking and Feed Management for Livestock - Toy Examples
5.2.1. Example of Growth Tracking
| Date | Weight | Notes |
|---|---|---|
| May 1, 2020 | 100 lbs. (45.36 kg) | Pig is eating well, feeder was empty, added a bag of feed (50 lbs. or 22.68 kg) |
| May 15, 2020 | 120 lbs. (54.43 kg) | Pig is eating well, feeder was empty on May 12, added a new bag of feed (50 lbs. or 22.68 kg) 1 |
5.2.2. Example of Adjusting Feed for Growth Rate Control
6. System Evaluation and Discussion
6.1. Extended STRIDE Threat Modeling Approach
6.2. Performance Evaluation
6.3. Demonstration
7. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| STRIDE | Spoofing, Tampering, Repudiation, Information disclosure, Denial of service, Elevation |
| of privileges categories | |
| FLEX | Framework for Livestock Empowerment and Decentralized Secure Data eXchange |
| ZTA | Zero Trust Architecture |
| DLT | Distributed Ledger Technology |
| GDPR | General Data Protection Regulation |
| AI | Artificial Intelligence |
References
- Abidin, A., Marquet, E., Moeyersons, J., Limani, X., Pohle, E., Van Kenhove, M., Marquez-Barja, J.M., Slamnik-Kriještorac, N., Volckaert,B., 2023. Mozaik: An end-to-end secure data sharing platform, in: Proceedings of the Second ACM Data Economy Workshop, Association for Computing Machinery. p. 34–40. [CrossRef]
- Antonucci, F., Figorilli, S., Costa, C., Pallottino, F., Raso, L., Menesatti, P., 2019. A review on blockchain applications in the agri-food sector. Journal of the Science of Food and Agriculture 99, 6129–6138. [CrossRef]
- Bahlo, C., Dahlhaus, P., 2021. Livestock data – is it there and is it fair? a systematic review of livestock farming datasets in australia. Computers and Electronics in Agriculture 188, 106365. Preprint submitted to journal of Information Security and Applications(JISA) Page 16 of 18. [CrossRef]
- Barreto, L., Amaral, A., 2018. Smart farming: Cyber security challenges, in: 2018 International Conference on Intelligent Systems (IS), pp. 870–876. [CrossRef]
- Boshkoska, B.M., Liu, S., Zhao, G., Fernandez, A., Gamboa, S., del Pino, M., Zarate, P., Hernandez, J., Chen, H., 2019. A decision support system for evaluation of the knowledge sharing crossing boundaries in agri-food value chains. Computers in Industry 110, 64–80. [CrossRef]
- Camenisch, J., Drijvers, M., Lehmann, A., 2016. Anonymous attestation using the strong diffie hellman assumption revisited, in: Franz, M.,Papadimitratos, P. (Eds.), Trust and Trustworthy Computing, Springer International Publishing, Cham. pp. 1–20.
- Camenisch, J., Lysyanskaya, A., 2001. An efficient system for non-transferable anonymous credentials with optional anonymity revocation, in: Pfitzmann, B. (Ed.), Advances in Cryptology — EUROCRYPT 2001, Springer Berlin Heidelberg, Berlin, Heidelberg. pp. 93–118.
- Camenisch, J., Lysyanskaya, A., 2004. Signature schemes and anonymous credentials from bilinear maps, in: Franklin, M. (Ed.), Advances in Cryptology – CRYPTO 2004, Springer Berlin Heidelberg, Berlin, Heidelberg. pp. 56–72.
- D. Fett, K. Yasuda, B.C., 2021. Iso/iec 18013-5:2021 personal identification — iso-compliant driving licence, part 5: Mobile driving licence (mdl) application. URL: https://www.iso.org/standard/69084.html.
- D. Fett, K. Yasuda, B.C., 2023. Selective disclosure for jwts (sd-jwt). URL: https://www.ietf.org/archive/id/ draft-ietf-oauth-selective-disclosure-jwt-07.html.
- Demestichas, K., Peppes, N., Alexakis, T., Adamopoulou, E., 2020. Blockchain in agriculture traceability systems: A review. Applied Sciences10. [CrossRef]
- Durrant, A., Markovic, M., Matthews, D., May, D., Leontidis, G., Enright, J., 2021. How might technology rise to the challenge of data sharingin agri-food? Global Food Security 28, 100493. [CrossRef]
- EC.Europa, 2023. The digitalisation of the european agricultural sector. https://digital-strategy.ec.europa.eu/en/policies/digitalisation-agriculture.
- IBM, 2024. Data protection strategy: Key components and best practices. https://www.ibm.com/blog/data-protection-strategy/.
- jahanbin, pouyan; Wingreen, S., Sharma, R., 2019. A blockchain traceability information system for trust improvement in agricultural supply chain, in: 27th European Conference on Information Systems (ECIS).
- Jun Lin, Zhiqi Shen, A.Z.Y.C., 2019. Blockchain and iot based food traceability for smart agriculture, in: ICCSE’18: 3rd International Conference on Crowd Science and Engineering, pp. 1–6.
- Kalos, V., Polyzos, G.C., 2022. Requirements and secure serialization for selective disclosure verifiable credentials, in: Meng, W., Fischer- Hübner, S., Jensen, C.D. (Eds.), ICT Systems Security and Privacy Protection, Springer International Publishing, Cham. pp. 231–247.
- Kamble, S.S., Gunasekaran, A., Sharma, R., 2020. Modeling the blockchain enabled traceability in agriculture supply chain. International Journal of Information Management 52, 101967. [CrossRef]
- Lezoche, M., Hernandez, J.E., del Mar Eva Alemany Díaz, M., Panetto, H., Kacprzyk, J., 2020. Agri-food 4.0: A survey of the supply chains and technologies for the future agriculture. Computers in Industry 117, 103187. [CrossRef]
- M. Nystrom, B.K., 2000. Pkcs #10: Certification request syntax specification version 1.7 (rfc:2986). URL: https://www.rfc-editor.org/rfc/rfc2986.
- Manu Sporny, Dave Longley, D.C., 2022. Verifiable credentials data model v1.1, w3c recommendation. URL: https://www.w3.org/TR/vc-data-model/.
- Mateo-Fornés, J., Pagès-Bernaus, A., Plà-Aragonés, L.M., Castells-Gasia, J.P., Babot-Gaspa, D., 2021. An internet of things platform based on microservices and cloud paradigms for livestock. Sensors 21. URL: https://www.mdpi.com/1424-8220/21/17/5949, . [CrossRef]
- Michael Bondar, Adam Mussomeli, J.C.K.G., 2023. Is your supply chain trustworthy? https://www2.deloitte.com/us/en/insights/focus/supply-chain/issues-in-global-supply-chain.html.
- Mohammad Hossein Anisi, Qazi Mudassar Ilyas, M.A., 2018. Smart farming: An enhanced pursuit of sustainable remote livestock tracking and geofencing using iot and gprs. Wireless Communications & Mobile Computing 2020. [CrossRef]
- Moore, E.K., Kriesberg, A., Schroeder, S., Geil, K., Haugen, I., Barford, C., Johns, E.M., Arthur, D., Sheffield, M., Ritchie, S.M., Jackson, C., Parr, C., 2022. Agricultural data management and sharing: Best practices and case study. Agronomy Journal 114, 2624–2634. [CrossRef]
- Nikander, J., Manninen, O., Laajalahti, M., 2020. Requirements for cybersecurity in agricultural communication networks. Computers and Electronics in Agriculture 179, 105776. [CrossRef]
- O. Terbu, D.F., 2023. Sd-jwt-based verifiable credentials (sd-jwt vc). URL: https://www.ietf.org/archive/id/ draft-ietf-oauth-sd-jwt-vc-01.html.
- Runck, B.C., Joglekar, A., Silverstein, K.A.T., Chan-Kang, C., Pardey, P.G., Wilgenbusch, J.C., 2022. Digital agriculture platforms: Driving data-enabled agricultural innovation in a world fraught with privacy and security concerns. Agronomy Journal 114, 2635–2643. [CrossRef]
- Shanahan, C., Kernan, B., Ayalew, G., McDonnell, K., Butler, F., Ward, S., 2009. A framework for beef traceability from farm to slaughter using global standards: An irish perspective. Computers and Electronics in Agriculture 66, 62–69. [CrossRef]
- Shiwen Mao, Yunhao Liu, Y.L., 2014. Community detection in graphs. Mobile Networks and Applications 19I, 171–209.
- Stephen Curran, Artur Philipp, H.Y.S.C.V.M.J.A.B.A.I., . Anoncreds specification. URL: https://hyperledger.github.io/anoncreds-spec/.
- Stranieri, S., Riccardi, F., Meuwissen, M.P., Soregaroli, C., 2021. Exploring the impact of blockchain on the performance of agri-food supply chains. Food Control 119, 107495. [CrossRef]
- Thakur, M., Martens, B.J., Hurburgh, C.R., 2011. Data modeling to facilitate internal traceability at a grain elevator. Computers and Electronics in Agriculture 75, 327–336. Preprint submitted to journal of Information Security and Applications(JISA) Page 17 of 18. [CrossRef]
- Wiseman, L., Sanderson, J., Zhang, A., Jakku, E., 2019. Farmers and their data: An examination of farmers’ reluctance to share their data through the lens of the laws impacting smart farming. NJAS - Wageningen Journal of Life Sciences 90-91, 100301. [CrossRef]
- Wolfert, S., Ge, L., Verdouw, C., Bogaardt, M.J., 2017. Big data in smart farming – a review. Agricultural Systems 153, 69–80. [CrossRef]
- Wysel, M., Baker, D., Billingsley, W., 2021. Data sharing platforms: How value is created from agricultural data. Agricultural Systems 193, 103241. [CrossRef]
- Zhao, G., Liu, S., Lopez, C., Lu, H., Elgueta, S., Chen, H., Boshkoska, B.M., 2019. Blockchain technology in agri-food value chain management: A synthesis of applications, challenges and future research directions. Computers in Industry 109, 83–99. Preprint submitted to journal of Information Security and Applications(JISA) Page 18 of 18. [CrossRef]
| 1 | |
| 2 | |
| 3 | |
| 4 |






Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).