Giter VIP home page Giter VIP logo

open-eid / mopp-ios Goto Github PK

View Code? Open in Web Editor NEW
16.0 13.0 11.0 899.6 MB

RIA DigiDoc iOS application that can be used to sign digitally with ID-card, mobile-ID and Smart-ID, check the validity of digital signatures and open, save and share documents with the mobile phone.

Home Page: https://apps.apple.com/ee/app/ria-digidoc/id1216104448

License: GNU Lesser General Public License v2.1

Objective-C 6.84% Swift 20.14% Ruby 0.08% Objective-C++ 1.24% C++ 1.14% C 70.08% Makefile 0.47% Shell 0.01%

mopp-ios's Introduction

MOPP-iOS

EU Regional Development Fund

  • License: LGPL 2.1
  • © Estonian Information System Authority

This repo contains source code for RIA DigiDoc application for iOS. This application contains following functionality:

  • Sign documents with ID-card, mobile-ID and Smart-ID.
  • Encrypt and decrypt documents
  • Control ID-card certificates validity
  • Change or unlock PIN/PUK codes

libdigidocpp

MOPP-iOS is using unofficial static version of libdigidoc. libdigidoc is used in app for managing container manipulations. More info: https://github.com/open-eid/libdigidocpp

Features

  • Creating ASiC-E containers
  • Signing containers with Mobile-ID, Smart-ID and ID-card
  • Validating ASiC-E, BDOC, ASIC-S and DDOC containers
  • Creating and validating detached XadES
  • Encrypting, decrypting and validating CDOC containers

Overview and how to use

App requirements, container format overview, documentation links and how to use instructions are available in Wiki: How to use

Building source code with Xcode

Installation instructions are available in Wiki: Building source code with Xcode

Signing documents in third-party application

In releases you will find framework, that you can use in your own application to implement document signing feature. For more detailed instructions check out wiki page.

Support

Official builds are provided through official distribution point https://www.id.ee/en/article/install-id-software/. If you want support, you need to be using official builds. Contact our support via www.id.ee for assistance.

Source code is provided on "as is" terms with no warranty (see license for more information). Do not file Github issues with generic support requests.

mopp-ios's People

Contributors

ambrose40 avatar andresrosenthal avatar ants-mobilab avatar counter178 avatar katrinlomp avatar kristelmerilain avatar martenrebane avatar metsma avatar olevabel avatar sanderhunt-fobsol avatar siimsuu avatar siimsuu1 avatar tanelts avatar telgat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mopp-ios's Issues

Terminating app due to uncaught exception 'NSInvalidArgumentException'

I'm still crashing my app with the MOPP-iOS. App crash when I authenticate card ACR1255.
this is my code:
func bluetoothReader(_ bluetoothReader: ABTBluetoothReader!, didAttach peripheral: CBPeripheral!, error: Error!) {
if error != nil {
return
let cardData = CardReaderData(bytes: key)
reader.authenticate(withMasterKey: cardData .converToData() as Data)
}

I got an error this line: reader.authenticate(withMasterKey: cardData .converToData() as Data)
With the following errors in the output window:
023-04-13 19:38:49.737994+0700 Runner[8459:2989758] -[ABTAcr1255uj1Reader checksumFromBuffer:length:]: unrecognized selector sent to instance 0x1051048d0
2023-04-13 19:38:49.738679+0700 Runner[8459:2989758] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[ABTAcr1255uj1Reader checksumFromBuffer:length:]: unrecognized selector sent to instance 0x1051048d0'
*** First throw call stack:
(0x197f6b708 0x1aca757a8 0x197e6ebfc 0x197f6e260 0x197f70560 0x1008bd3c8 0x1008bba58 0x1008babdc 0x1008b0d78 0x1008b0e1c 0x1008bcc84 0x1b17efc44 0x1b17efdb0 0x1b17ec36c 0x1b17e1150 0x1b1808f78 0x1b17fc874 0x1033a80b4 0x1033a9de0 0x1033b1ef0 0x1033b2d48 0x1033b9ef0 0x197ee5340 0x197edf218 0x197ede308 0x1af561734 0x19a95c75c 0x19a961fcc 0x1008902a0 0x197b9acf8)
libc++abi: terminating with uncaught exception of type NSException

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[ABTAcr1255uj1Reader checksumFromBuffer:length:]: unrecognized selector sent to instance 0x1051048d0'
terminating with uncaught exception of type NSException

Can you help me fix this error?

Build failed due to missing tslFiles.bundle

Attempting to build the source code after following the Building source code with Xcode section results in the following build error: error: .../MOPP-iOS/MoppApp/MoppApp/tslFiles.bundle: No such file or directory (in target 'shareExtension' from project 'MoppApp').

The FEITIAN reader gets unresponsive after the first use

Affects: v2.6.2

The FEITIAN reader does not work as expected after using the first time during an operation.
Here are the steps to reproduce this issue:

  1. After installing the app, signe a file using the FEITIAN reader.
  2. At the container result screen, disconnect the reader and start signing again.
  3. After connecting the reader, the app does not respond to the reader.
  4. However, when opening the signing dialog view again while the reader is attached, the app works as expected.

iPad OS 15 Safari Extension Support

As of iPad OS 15 release, Safari for iPad/iOS now supports extensions.

Will the Safari Extension be ported over to iPad/iOS Safari Extensions?

This has been mentioned in the following issue https://github.com/open-eid/chrome-token-signing/issues/209 and can be referenced for info.

User interface: "It may take up to 1 minute..." warning

Affects: v2.6.2

When using ID card with the app, a message "Loading data from ID-card. It may take up to 1 minute..." is shown.
Such warning that "it may take up to a 1 minute" is not present in the Android version of the DigiDoc app and does not make much sense, as there is no operation that could theoretically take up to 1 minute.
This note should be removed from the UI.
image RSVSG2

Build Failed!

Hi,
Do followed all steps as written in documentation. Unfortunately getting error during build process. Below is output, please assist.

Initializing default MOPP configuration setup script:
Brew is already installed
Swift-sh is already installed
error: The operation couldn’t be completed. (Script.ImportSpecification.DependencyName.E.0)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.