How do I safely "copy" my gpg keys from kgpg on Linux to an Android app like openkeychain?


Question

The title says most of it. I have a key pair setup on kgpg running under Kubuntu 12.04 Linux on my notebook. My smartphone (Galaxy S3) has no SD card slot.



I want to be able to transfer files between my notebook and my smartphone. Since I don't have a card reader for the phone yet, I figured I could do it using email or dropbox.



But both of those ways expose the files to other people and I would prefer they were encrypted.



The first file I want to send is my password vault from my notebook and although it's encrypted itself, I really need to be sure it's locked tight before it gets anywhere near the Internet.


Answer

The main objective here is to keep the file local in order to minimize the risk of an outsider deliberately stealing your keys.



Method 1 (recommended)



Hook up your phone via the USB charging cable that came with it. In order to do this, plug in the small micro-USB connector into the respective slot on the bottom of your phone. Then plug in the large USB2 connector into your computer.



You should now have a notification on your phone prompting you to enable mass storage. If you do not see this notification, download and install the Samsung USB Drivers. Now do enable mass storage.



Open the device with your computers file manager and copy the desired file over.



Method 2 (potentially less secure)



Some apps allow you to run an FTP Server on your phone. This allows you to remotely access your phone from within your local network. The downside is that allows any other machine on the network to grab the data while it is being sent.



From my experience, ES File Explorer does the best job at this, supplying a ton of other useful features as well.



Once you have installed the app, launch it and press the Menu key. Scroll down to "Remote Manager" and hit "Turn On". Type the supplied address into your computers file manager. Now copy the desired files to the desired destination.



Method 3 (potentially less secure)



If your computer supports Bluetooth, you can exchange files using it. Again, the downside is that allows any other machine on the network to grab the data while it is being sent.



Turn on Bluetooth on both your phone and your computer, and set one of them to be visible. Then connect to it from the other machine. You will have to confirm the connection, and potentially type in a code displayed in the other machine.



You can now open the device in your computers file manager and copy the desired files to the desired destination.


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes