Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Python Briar Wrapper
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
briar
Python Briar Wrapper
Commits
80854cef
Commit
80854cef
authored
4 years ago
by
Nico
Browse files
Options
Downloads
Patches
Plain Diff
Remove faq section about transferring Briar accounts from Android
parent
79a7889e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#5108
passed
4 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+0
-31
0 additions, 31 deletions
README.md
tools/copy-db-from-android.sh
+0
-21
0 additions, 21 deletions
tools/copy-db-from-android.sh
with
0 additions
and
52 deletions
README.md
+
0
−
31
View file @
80854cef
...
@@ -78,37 +78,6 @@ In case you forgot your password, there's no other way than to delete your old
...
@@ -78,37 +78,6 @@ In case you forgot your password, there's no other way than to delete your old
account and start from scratch. Call
`rm -rf ~/.briar/`
to delete your current
account and start from scratch. Call
`rm -rf ~/.briar/`
to delete your current
account.
account.
### How can I transfer a Briar account from my Android device?
By using
[
_adb_
](
https://developer.android.com/studio/command-line/adb
)
,
you can copy the database and keys from a Briar Android installation.
Note that your smartphone needs to be rooted for this.
You shouldn't use this technique to clone your Briar account to another device and
then use the same account on both devices. If you do this, you open up yourself to many
possible threats. See
[
this comment on Briar's issue tracker
](
https://code.briarproject.org/briar/briar/issues/110#note_34386
)
for more information. Therefore, make sure to delete the old copy
of your Briar account after you've transferred it to another device to protect
yourself against attacks circumventing forward secrecy.
In case you just want to transfer contacts from one account to another,
better use the "contact introduction feature" which is already available on Android
devices and which is planned to land in python-briar-wrapper, too.
You can either use the script at
[
tools/copy-db-from-android.sh
](
tools/copy-db-from-android.sh
)
or do it manually:
1.
Start _briar-gtk_ and register a dummy account. This will create
the needed directory structure at _~/.briar/_. Close the program afterwards.
2.
Enable _adb_ on your smartphone and give it root permissions.
3.
Connect via _adb_ and gain root permissions using
`adb root`
.
4.
Copy all important files using
`adb pull`
:
_/data/data/org.briarproject.briar.android/app_
db/db.mv.db_,
_/data/data/org.briarproject.briar.android/app_
key/db.key_,
_/data/data/org.briarproject.briar.android/app_
key/db.key.bak_
5.
Replace the respecting files in _~/.briar/db_ and _~/.briar/key_.
## License
## License
This program is free software: you can redistribute it and/or modify
This program is free software: you can redistribute it and/or modify
...
...
This diff is collapsed.
Click to expand it.
tools/copy-db-from-android.sh
deleted
100755 → 0
+
0
−
21
View file @
79a7889e
#!/usr/bin/env bash
# Copyright (c) 2019 Nico Alt
# SPDX-License-Identifier: AGPL-3.0-only
# License-Filename: LICENSE.md
# Script to copy Briar database from Android to Linux devices.
# Note that you must have started Briar GTK beforehand.
# It's also recommend to manually start adb before using this script.
set
-e
-x
# List devices
adb devices
# Switch to root mode
adb root
# Copy files
adb pull /data/data/org.briarproject.briar.android/app_db/db.mv.db ~/.briar/db/
adb pull /data/data/org.briarproject.briar.android/app_key/db.key ~/.briar/key/
adb pull /data/data/org.briarproject.briar.android/app_key/db.key.bak ~/.briar/key/
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment