Skip to content

Commit

Permalink
feat: version 0.6.0 (#46)
Browse files Browse the repository at this point in the history
* feat: icon theme set to adwaita
* feat: explicit default capture and report filename
* feat: escape key now hides current child window
* feat: use of docker builder images in the CI
* fix: handshake capture and decrypt issues
* fix: scan process killing issues
* fix: disabled reload of clients on same ap selection

Signed-off-by: Martin Olivier <[email protected]>
  • Loading branch information
martin-olivier authored Nov 4, 2023
1 parent adc347e commit e254467
Show file tree
Hide file tree
Showing 21 changed files with 586 additions and 443 deletions.
3 changes: 2 additions & 1 deletion .fpm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-s dir ./target/release/airgorah ./icons/app_icon.png package README.md LICENSE
--name airgorah
--license MIT
--version 0.5.0
--version 0.6.0
--description "A WiFi auditing software that can perform deauth attacks and passwords cracking"
--url "https://github.com/martin-olivier/airgorah"
--maintainer "Martin Olivier <[email protected]>"
Expand All @@ -15,6 +15,7 @@
--depends iw
--depends macchanger
--depends aircrack-ng
--depends adwaita-icon-theme

target/release/airgorah=/usr/bin/airgorah
icons/app_icon.png=/usr/share/pixmaps/airgorah.png
Expand Down
Binary file modified .github/assets/illustration.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
102 changes: 64 additions & 38 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,9 @@ on:
push:
branches:
- main
paths:
- src/*
- icons/*
- package/*
- .github/workflows/*.yml
- Cargo.toml
pull_request:
branches:
- main
paths:
- src/*
- icons/*
- package/*
- .github/workflows/*.yml
- Cargo.toml
release:
types: [published]

Expand All @@ -27,15 +15,15 @@ jobs:
name: commits
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: webiny/[email protected]

linter:
name: linter
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install dependencies
run: sudo apt update && sudo apt install -y libgtk-4-dev libglib2.0-dev
Expand All @@ -50,36 +38,50 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, ubuntu-latest-arm64]
arch: [x86_64, aarch64]
include:
- os: ubuntu-latest
arch: x86_64
- os: ubuntu-latest-arm64
arch: aarch64
- arch: x86_64
platform: amd64
image: amd64_builder
- arch: aarch64
platform: arm64
image: arm64_builder

name: build ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
needs: linter
permissions: write-all

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: linux_${{ matrix.arch }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: linux_${{ matrix.arch }}-cargo-
path: /var/lib/docker
key: docker-${{ matrix.arch }}-${{ hashFiles('**/Dockerfile') }}
restore-keys: docker-${{ matrix.arch }}-

- name: Install dependencies
- name: Set up qemu
uses: docker/setup-qemu-action@v3

- name: Create builder image
run: >
docker build .
--platform linux/${{ matrix.platform }}
-t ${{ matrix.image }}
-f docker/${{ matrix.image }}/Dockerfile
- name: Build project
run: >
docker run --rm
--platform linux/${{ matrix.platform }}
-v ${{ github.workspace }}:/workspace
-w /workspace
${{ matrix.image }}
cargo build --release
- name: Install packaging dependencies
run: >
sudo apt update && sudo apt install -y
libgtk-4-dev
libglib2.0-dev
build-essential
ruby
ruby-dev
Expand All @@ -90,12 +92,9 @@ jobs:
- name: Install fpm
run: sudo gem install fpm

- name: Build project
run: cargo build --release

- name: Build debian package
run: >
fpm -t deb -p airgorah_${{ matrix.arch }}.deb --architecture native
fpm -t deb -p airgorah_${{ matrix.arch }}.deb --architecture ${{ matrix.arch }}
--depends policykit-1
--depends "libgtk-4-1 (>= 4.6.0)"
--depends dbus-x11
Expand All @@ -104,6 +103,15 @@ jobs:
--depends mdk4
--depends crunch
- name: Test debian package
run: >
docker run --rm
--platform linux/${{ matrix.platform }}
-v ${{ github.workspace }}:/workspace
-w /workspace
debian:bookworm-slim
sh -c "apt update && apt install -y ./airgorah_${{ matrix.arch }}.deb"
- name: Save debian artifact
uses: actions/upload-artifact@v3
with:
Expand All @@ -113,13 +121,22 @@ jobs:

- name: Build redhat package
run: >
fpm -t rpm -p airgorah_${{ matrix.arch }}.rpm --architecture native
fpm -t rpm -p airgorah_${{ matrix.arch }}.rpm --architecture ${{ matrix.arch }}
--depends polkit
--depends "gtk4-devel >= 4.6.0"
--depends dbus-x11
--depends wireshark-cli
--depends iproute
- name: Test redhat package
run: >
docker run --rm
--platform linux/${{ matrix.platform }}
-v ${{ github.workspace }}:/workspace
-w /workspace
fedora:38
dnf install -y ./airgorah_${{ matrix.arch }}.rpm
- name: Save redhat artifact
uses: actions/upload-artifact@v3
with:
Expand All @@ -129,14 +146,23 @@ jobs:

- name: Build archlinux package
run: >
fpm -t pacman -p airgorah_${{ matrix.arch }}.pkg.tar.zst --architecture native
fpm -t pacman -p airgorah_${{ matrix.arch }}.pkg.tar.zst --architecture ${{ matrix.arch }}
--depends polkit
--depends gtk4
--depends dbus
--depends wireshark-cli
--depends iproute2
--depends mdk4
- name: Test archlinux package
run: >
docker run --rm
--platform linux/${{ matrix.platform }}
-v ${{ github.workspace }}:/workspace
-w /workspace
manjarolinux/base:latest
pacman -U --noconfirm ./airgorah_${{ matrix.arch }}.pkg.tar.zst
- name: Save archlinux artifact
uses: actions/upload-artifact@v3
with:
Expand Down
Loading

0 comments on commit e254467

Please sign in to comment.