Giter VIP home page Giter VIP logo

autofill_service's Introduction

Contribute Contribute

AuthPass.app

AuthPass.app - Open Source Password Manager for mobile and desktop

AuthPass - Password Manager based on Flutter for all platforms. Keepass 2.x (kdbx 3.x) compatible.

Mac OS, iOS and Android Screenshot

Contribute to AuthPass

Need ideas how to contribute? Visit the forum for many different ways to contribute. Contribute

If you like AuthPass, and want to contribute. First, spread the word ;-) Writing reviews, vote or share AuthPass on twitter, reddit, etc.

Roadmap/TODOs

see also https://github.com/authpass/authpass/issues

GitHub issues

  • Read/Decrypt kdbx 3.x using password
  • Download of kdbx files through url
  • Parse decrypted XML/handle protected values
  • Flutter scaffold for mobile (ios/android)
  • Platforms ๐ŸŽ‰๏ธ๐Ÿ‘๏ธโœ…๏ธ
  • Decrypt with keyfile #3
  • List of password entries
  • ๐Ÿ‘†๏ธ Search through entries
  • ๐Ÿ‘†๏ธ Entry details
  • ๐Ÿ‘†๏ธ mobile: copy usernames, passwords
  • mobile: integrate with biometrics (fingerprint)
  • mac: Auto-Type #13
  • ๐Ÿ‘†๏ธ Auto-lock after x minutes of inactivity. #14
  • Editing existing entries
  • Saving of changes into kdbx file.
  • Creating of new kdbx files.
  • Syncing of kdbx files via custom cloud service and QR codes. #29
  • Syncing with cloud services like dropbox or google drive?
  • ๐Ÿ‘†๏ธ CI pipeline/continous builds, releases
  • kdbx 4 support (missing argon2) compatibility #4
  • Android: Auto Fill #30
  • iOS: Auto Fill #31

Donations

If you like AuthPass check out the website for ways to support us.

License

AuthPass - Password Manager [email protected]

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 3 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Contributors must agree to our CLA.

autofill_service's People

Contributors

hpoul avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

autofill_service's Issues

`autofill_service` does not specify a Swift version...

The Android flutter app in the project builds great using autofill_service. The iOS project, however, fails on pod install with the following error. Any idea how to get the project to build without throwing this error?:

- `autofill_service` does not specify a Swift version and none of the targets (`Runner`) integrating it have the `SWIFT_VERSION` attribute set. Please contact the author or set the `SWIFT_VERSION` attribute in at least one of the targets that integrate this pod.
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/installer/xcode/target_validator.rb:125:in `verify_swift_pods_swift_version'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/installer/xcode/target_validator.rb:39:in `validate!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/installer.rb:595:in `validate_targets'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/installer.rb:162:in `install!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/command/install.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'

Error output from CocoaPods:
โ†ณ
[!] Automatically assigning platform iOS with version 12.0 on target Runner because no platform was specified. Please specify a platform for this target in your Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform.
Exception: Error running pod install
Exited (sigterm)

Example project build fails on on Nexus 5X (8.1.0) in debug mode

Example fails to build when ran. Debug log below...

Launching lib/main.dart on Nexus 5X in debug mode...

Compiler message:
../../../Development/Tools/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/dio-2.2.2/lib/src/dio_http_headers.dart:55:8: Error: The method 'DioHttpHeaders.add' has fewer named arguments than those of overridden method 'HttpHeaders.add'.
void add(String name, value) {
^
org-dartlang-sdk:///third_party/dart/sdk/lib/_http/http.dart:694:8: Context: This is the overridden method ('add').
void add(String name, Object value,
^
../../../Development/Tools/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/dio-2.2.2/lib/src/dio_http_headers.dart:70:8: Error: The method 'DioHttpHeaders.set' has fewer named arguments than those of overridden method 'HttpHeaders.set'.
void set(String name, Object value) {
^
org-dartlang-sdk:///third_party/dart/sdk/lib/_http/http.dart:703:8: Context: This is the overridden method ('set').
void set(String name, Object value,
^
Compiler message:
../../../Development/Tools/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/dio-2.2.2/lib/src/dio_http_headers.dart:55:8: Error: The method 'DioHttpHeaders.add' has fewer named arguments than those of overridden method 'HttpHeaders.add'.
void add(String name, value) {
^
org-dartlang-sdk:///third_party/dart/sdk/lib/_http/http.dart:694:8: Context: This is the overridden method ('add').
void add(String name, Object value,
^
../../../Development/Tools/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/dio-2.2.2/lib/src/dio_http_headers.dart:70:8: Error: The method 'DioHttpHeaders.set' has fewer named arguments than those of overridden method 'HttpHeaders.set'.
void set(String name, Object value) {
^
org-dartlang-sdk:///third_party/dart/sdk/lib/_http/http.dart:703:8: Context: This is the overridden method ('set').
void set(String name, Object value,
^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
build failed.

FAILURE: Build failed with an exception.

  • Where:
    Script '/Users/jakebrantley/Development/Tools/SDKs/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 882

  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command '/Users/jakebrantley/Development/Tools/SDKs/flutter/bin/flutter'' finished with non-zero exit value 1

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 7s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

failed build apk

Help please

Note: /tmp/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage-5.1.2/android/src/main/java/com/it_nomads/fluttersecurestorage/ciphers/RSACipher18Implementation.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Expected to find fonts for (packages/cupertino_icons/CupertinoIcons, MaterialIcons, packages/Ionicons/Ionicons, packages/flutter_feather_icons/FeatherIcons), but found (MaterialIcons, packages/cupertino_icons/CupertinoIcons, packages/flutter_feather_icons/FeatherIcons). This usually means you are referring to font families in an IconData class but not including them in the assets section of your pubspec.yaml, are missing the package that would include them, or are missing "uses-material-design: true".
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':autofill_service:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
   > Android resource linking failed
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:3:5-94: AAPT: error: resource android:color/system_neutral1_1000 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:4:5-94: AAPT: error: resource android:color/system_neutral1_900 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:5:5-93: AAPT: error: resource android:color/system_neutral1_0 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:6:5-94: AAPT: error: resource android:color/system_neutral1_800 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:7:5-94: AAPT: error: resource android:color/system_neutral1_700 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:8:5-94: AAPT: error: resource android:color/system_neutral1_600 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:9:5-94: AAPT: error: resource android:color/system_neutral1_[50](https://github.com/rustzz/passwd/runs/8186989810?check_suite_focus=true#step:10:50)0 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb718[58](https://github.com/rustzz/passwd/runs/8186989810?check_suite_focus=true#step:10:58)ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:10:5-94: AAPT: error: resource android:color/system_neutral1_400 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:11:5-94: AAPT: error: resource android:color/system_neutral1_300 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:12:5-94: AAPT: error: resource android:color/system_neutral1_200 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:13:5-94: AAPT: error: resource android:color/system_neutral1_100 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:14:5-93: AAPT: error: resource android:color/system_neutral1_50 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:15:5-93: AAPT: error: resource android:color/system_neutral1_10 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:16:5-102: AAPT: error: resource android:color/system_neutral2_1000 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:17:5-102: AAPT: error: resource android:color/system_neutral2_900 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:18:5-101: AAPT: error: resource android:color/system_neutral2_0 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:19:5-102: AAPT: error: resource android:color/system_neutral2_800 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:20:5-102: AAPT: error: resource android:color/system_neutral2_700 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b32770f183f2e9afb71858ba75b/transformed/material-1.6.1/res/values-v31/values-v31.xml:21:5-102: AAPT: error: resource android:color/system_neutral2_[60](https://github.com/rustzz/passwd/runs/8186989810?check_suite_focus=true#step:10:60)0 not found.
     ERROR:/home/runner/.gradle/caches/transforms-3/31201b327[70](https://github.com/rustzz/passwd/runs/8186989810?check_suite_focus=true#step:10:70)f183f2e9afb[71](https://github.com/rustzz/passwd/runs/8186989810?check_suite_focus=true#step:10:71)858ba[75](https://github.com/rustzz/passwd/runs/8186989810?check_suite_focus=true#step:10:75)b/transformed/material-1.6.1/res/values-v31/values-v31.xml:22:5-102: AAPT: error: resource android:color/system_neutral2_500 not found.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org/
BUILD FAILED in 5m 23s
Running Gradle task 'assembleRelease'...                          324.2s
Gradle task assembleRelease failed with exit code 1
Error: Process completed with exit code 1.
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
    localPropertiesFile.withReader('UTF-8') { reader ->
        localProperties.load(reader)
    }
}

def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
    throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
    flutterVersionCode = '1'
}

def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
    flutterVersionName = '1.0'
}

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
    compileSdkVersion 33
    ndkVersion flutter.ndkVersion

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    kotlinOptions {
        jvmTarget = '1.8'
    }

    sourceSets {
        main.java.srcDirs += 'src/main/kotlin'
    }

    defaultConfig {
        applicationId "ru.rustzz.passwd"
        minSdkVersion 18
        targetSdkVersion 33
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
    }

    buildTypes {
        release {
            signingConfig signingConfigs.debug
        }
    }
}

flutter {
    source '../..'
}

dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
}
name: passwd
description: A new implementation of passwdapp/passwd
publish_to: 'none'
version: 1.0.0+1

environment:
  sdk: ">=2.17.6 <3.0.0"

dependencies:
  flutter:
    sdk: flutter

  window_size:
    git:
      url: https://github.com/google/flutter-desktop-embedding.git
      path: plugins/window_size

  autofill_service:
    git:
      url: https://github.com/authpass/autofill_service.git

  cupertino_icons: ^1.0.2
  flutter_bloc: ^8.1.1
  pinput: ^2.2.12
  shared_preferences: ^2.0.15
  crypto: ^3.0.2
  google_fonts: ^3.0.1
  json_annotation: ^4.6.0
  build_runner: ^2.2.0
  json_serializable: ^6.3.1
  string_validator: ^0.3.0
  random_password_generator: ^0.2.1
  flutter_launcher_icons: ^0.10.0
  flutter_localizations:
    sdk: flutter
  logger: ^1.1.0
  intl: ^0.17.0
  flutter_feather_icons: ^2.0.0+1
  ionicons: ^0.2.1
  flutter_secure_storage: ^5.1.2
  go_router: ^4.3.0

dev_dependencies:
  flutter_lints: ^2.0.0

flutter_icons:
  image_path: "assets/icons/icon.png"
  android: true
  ios: true
  web:
    generate: true
    image_path: "assets/icons/icon.png"
    background_color: "#121212"
  windows:
    generate: true
    image_path: "assets/icons/icon.png"
  macos:
    generate: true
    image_path: "assets/icons/icon.png"
  remove_alpha_ios: true
  adaptive_icon_background: "assets/images/load-background.png"
  adaptive_icon_foreground: "assets/images/load-foreground.png"

flutter:
  uses-material-design: true
  generate: true

How does the autofill service connect to your credential database?

Thank you for sharing this implementation. I'm playing around with it. I was able to implement the autofill service for a sample application with an encrypted database that holds credentials, however the autofill service isn't connected to the credential database. I'm having trouble following the logic on the autofill service connection. So, when I select "autofill with sample application", nothing happens.

Is there any way you could provide any guidance on how to connect the autofill service to the application database so that the autofill service will function with my database?

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.