Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pushpabrol/appattesttest
https://github.com/pushpabrol/appattesttest
Last synced: about 9 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/pushpabrol/appattesttest
- Owner: pushpabrol
- Created: 2023-12-26T21:28:06.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-01-02T17:35:07.000Z (11 months ago)
- Last Synced: 2024-01-02T18:47:26.307Z (11 months ago)
- Language: Swift
- Size: 43.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AppAttestTest
## Overview
`AppAttestTest` is a Swift-based iOS application designed to demonstrate the Apple App Attestation process. The app showcases key generation, attestation, and assertion functionalities, interfacing with a Node.js server for verification.## Features
- Generation of attestation keys using `DeviceCheck`.
- Fetching attestation and assertion challenges from a server.
- Creating attestation objects and assertions, then sending them to the server for verification.
- SwiftUI-based user interface with status alerts and data presentation.## Usage
1. Run the server capable of handling attestation and assertion verification.
2. Launch the app to generate an attestation key and create an attestation object.
3. The app interacts with the server to verify attestation and assertion data.## Key Components
- `ContentView.swift`: Contains the SwiftUI view for the app's user interface.
- `AppAttestViewModel`: The ObservableObject that handles the attestation and assertion logic.## Dependencies
- SwiftUI
- DeviceCheck
- CryptoKitEnsure the server URL in the `AppAttestViewModel` is correctly set to your server's address for attestation and assertion handling.