All Projects → avast → Apkverifier

avast / Apkverifier

Licence: lgpl-3.0
APK Signature verification in Go. Supports scheme v1, v2 and v3 and passes Google apksig's testing suite.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Apkverifier

Android Yolo
Real-time object detection on Android using the YOLO network with TensorFlow
Stars: ✭ 604 (+1448.72%)
Mutual labels:  apk
Onekey Decompile Apk
一步到位反编译apk工具(onekey decompile apk)
Stars: ✭ 746 (+1812.82%)
Mutual labels:  apk
Rott94
Rise of the Triad source port to SDL2, Android and WinRT
Stars: ✭ 8 (-79.49%)
Mutual labels:  apk
Andromeda
Andromeda - Interactive Reverse Engineering Tool for Android Applications
Stars: ✭ 627 (+1507.69%)
Mutual labels:  apk
Uber Apk Signer
A cli tool that helps signing and zip aligning single or multiple Android application packages (APKs) with either debug or provided release certificates. It supports v1, v2 and v3 Android signing scheme has an embedded debug keystore and auto verifies after signing.
Stars: ✭ 677 (+1635.9%)
Mutual labels:  apk
Python For Android
Turn your Python application into an Android APK
Stars: ✭ 6,758 (+17228.21%)
Mutual labels:  apk
Android Getapkinfo
获取Android应用基本信息的工具集
Stars: ✭ 535 (+1271.79%)
Mutual labels:  apk
Protime
📱⏰ Mobile application for tracking projects time written in Flutter!
Stars: ✭ 31 (-20.51%)
Mutual labels:  apk
Fakerandroid
A tool translate a apk file to stantard android project include so hook api and il2cpp c++ scaffolding when apk is a unity il2cpp game. Write code on a apk file elegantly.
Stars: ✭ 695 (+1682.05%)
Mutual labels:  apk
Stormplane
✈️《沙漠风暴》是一款基于Android开发的纵版飞行射击游戏,以雷电(Shooting Game)为原型,参考微信打飞机大战,通过自定义的SurfaceView来实现游戏,游戏画面、音乐、战斗特效都不错(附带apk安装包,可直接运行)
Stars: ✭ 938 (+2305.13%)
Mutual labels:  apk
Diggy
Extract endpoints from apk files.
Stars: ✭ 654 (+1576.92%)
Mutual labels:  apk
Apk Dependency Graph
Android class dependency visualizer. This tool helps to visualize the current state of the project.
Stars: ✭ 675 (+1630.77%)
Mutual labels:  apk
Apk Mitm
🤖 A CLI application that automatically prepares Android APK files for HTTPS inspection
Stars: ✭ 893 (+2189.74%)
Mutual labels:  apk
Cimoc
漫画阅读器
Stars: ✭ 591 (+1415.38%)
Mutual labels:  apk
Android Classyshark
Android and Java bytecode viewer
Stars: ✭ 6,930 (+17669.23%)
Mutual labels:  apk
Wifitransfer Master
Android下WIFI隔空apk安装
Stars: ✭ 560 (+1335.9%)
Mutual labels:  apk
Ehviewer cn sxj
因为ehviewer近一年多没更新了,所以想copy过来试着更新下
Stars: ✭ 744 (+1807.69%)
Mutual labels:  apk
Apk Dependency Graph Plugin
Displays dependencies between classes as fancy graph.
Stars: ✭ 36 (-7.69%)
Mutual labels:  apk
Phonesploit
Using open Adb ports we can exploit a Andriod Device
Stars: ✭ 854 (+2089.74%)
Mutual labels:  apk
Sjly
手机乐园第三方Android客户端,采用单Activity多Fragment架构,支持全局滑动返回,实现手机乐园各种基本功能,支持登录、浏览、下载、发布动态、夜间模式等功能
Stars: ✭ 24 (-38.46%)
Mutual labels:  apk

apkverifier

GoDoc Build Status

APK signature verification, should support all algorithms and both scheme v1 and v2, including downgrade attack protection.

Works with Go 1.9 or higher.

Documentation on GoDoc

go get github.com/avast/apkverifier

Vendored stuff

Because Android can handle even broken x509 cerficates and ZIP files, apkverifier is using the ZipReader from apkparser package and vendors crypto/x509 in internal/x509andr and github.com/fullsailor/pkcs7 in the fullsailor/pkcs7 folder. The last two have some changes to handle some not-entirely-according-to-spec certificates.

Example

package main

import (
	"fmt"
	"github.com/avast/apkverifier"
	"os"
)

func main() {
	res, err := apkverifier.Verify(os.Args[1], nil)
	if err != nil {
		fmt.Fprintf(os.Stderr, "Verification failed: %s\n", err.Error())
	}

	fmt.Printf("Verification scheme used: v%d\n", res.SigningSchemeId)
	cert, _ := apkverifier.PickBestApkCert(res.SignerCerts)
	if cert == nil {
		fmt.Printf("No certificate found.\n")
	} else {
		fmt.Println(cert)
	}
}

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].