Synchronize secrets with your PC

298 views
Skip to first unread message

Roger Tawa

unread,
Mar 31, 2014, 9:15:49 PM3/31/14
to secrets-f...@googlegroups.com
Hi all,

If you've ever wanted to access your secrets on your PC, give Chris Wood's PCSecrets a try. You'll need the following:

1/ PCSecrets running on the PC. Get it from sourceforge: http://sourceforge.net/projects/pcsecrets/files/?source=navbar

2/ PCSSync, a companion android app that keeps your secrets on the phone in sync with the PC. Get it directly from the Play Store: https://play.google.com/store/apps/details?id=com.ceperman.sync

Chris and I worked closely together to make sync as easy and secure as possible. Let us know what you think.

Transfer Secrets to a New Phone
PCSecrets is also a good way to transfer secrets to a new phone. First make sure to keep your existing phone in sync with your PC. When you get a new phone, install Secrets for Android and PCSSync, and sync. You're done!

Thanks,
Roger

Roger Tawa █ ♣ █

unread,
Mar 31, 2014, 9:20:42 PM3/31/14
to secrets-f...@googlegroups.com
Hi all,

Forgot to mention: if you are a developer and want to write your own sync agent, please take a look at the docs Chris put together:


=================================================
Roger Tawa
http://tawacentral.net/
[When you stop, you're done.]


--
You received this message because you are subscribed to the Google Groups "secrets-for-android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to secrets-for-and...@googlegroups.com.
To post to this group, send email to secrets-f...@googlegroups.com.
Visit this group at http://groups.google.com/group/secrets-for-android.
For more options, visit https://groups.google.com/d/optout.

twzg...@gmail.com

unread,
May 2, 2014, 5:17:07 AM5/2/14
to secrets-f...@googlegroups.com
I would presume all the syncing are done within the internal system network of the connected devices or over a TCP/IP or UDP network ?

Borstel

unread,
Jun 19, 2014, 12:46:22 PM6/19/14
to secrets-f...@googlegroups.com
Hi,
after installation of the Windows-installation (exe) and start, I get the message " Could not find the given path" after the 2nd Input of the password. What could be my mistake?

Thank you for your help. Borstel

Chris Wood

unread,
Jun 20, 2014, 1:43:34 AM6/20/14
to secrets-f...@googlegroups.com
That's correct. In technical terms, PCSync issues a UDP broadcast and this is picked up by PCSecrets. This is how they "discover" each other. They then communicate using TCP/IP.

Chris Wood

Chris Wood

unread,
Jun 20, 2014, 1:46:42 AM6/20/14
to secrets-f...@googlegroups.com
Hi Borstel,
I assume you're talking about PCSecrets. Can you give some more information?

Chris Wood

Borstel

unread,
Jun 24, 2014, 3:24:55 AM6/24/14
to secrets-f...@googlegroups.com
Hi Chris,
 yes I´m talking about PCSecrets. I have installed the .exe . After the 1st. start there is the request for a password and the confirmation of the password.
After pressing <ok> I get the massage " Could not find the given path"  - it seems like a Windows-message. I`m using win7- 64
 
Borstel

Chris Wood

unread,
Jun 25, 2014, 2:45:41 AM6/25/14
to secrets-f...@googlegroups.com
Hi Borstel,
I'm guessing that there's a problem creating the PCSecrets directory, which will be in "{user.home}\Application Data". On Windows 7 "Application Data" is an alias for AppData\Roaming. Check if these directories exist.

PCSecrets has been tested to work on Windows 7, 64-bit.

Chris

Borstel

unread,
Jun 25, 2014, 3:40:03 AM6/25/14
to secrets-f...@googlegroups.com
Hi Chris,
I have C:\Users\anblf\AppData\Roaming , but there is no PCSecrets-directory,
 
Borstel

Chris Wood

unread,
Jun 28, 2014, 2:35:43 AM6/28/14
to secrets-f...@googlegroups.com
Hi Borstel,
If you didn't get my direct reply to you, this was it...
The error seems to be happening at the point that the PCSecrets directory gets created - which explains why it's not there. You could try creating the PCSecrets directory manually - this would at least show that it can be created...

In a cmd prompt:

cd "Application Data"
mkdir PCSecrets

The "Application Data" directory is an alias (for AppData\Roaming) and doesn't seem to behave like a normal directory e.g. dir doesn't list anything. Nevertheless, if the PCSecrets directory is created OK then it should appear in AppData\Roaming.

Then try PCSecrets again.

Unfortunately you can't switch on the log before the props file is created in the PCSecrets dir, so we can't get more info out of the program at this point (I may consider creating a cmd line option for doing this in the light of your problem)

Chris

Chris Wood

unread,
Jul 5, 2014, 3:38:29 AM7/5/14
to secrets-f...@googlegroups.com
Hi Borstel,
It seems that the "Application Data" construct doesn't work on your win7 system although it should (and does on mine). Nevertheless using the environment variable APPDATA value looks to be a more robust technique - thanks for testing the changed code and showing that it works OK. I'll release a new version shortly with this update in it.

Chris

Danny Green

unread,
Sep 3, 2014, 7:25:12 PM9/3/14
to secrets-f...@googlegroups.com
First off, great app, been using Secrets for Android for a long time.

Have there been any reports of newer phones not being able to sync with PCSecrets? My father lost all his data in Secrets for Android for the second time this year and PCSecrets is a great solution to his (which becomes mine) problem! Here at the office, I was able to get it to sync with my rooted LG G2 perfectly fine on my Win7 PC, but with his new stock T-Mobile Galaxy S5, every time I hit "Sync" within Secrets, which is after I hit "Sync" in PCSecrets, Secrets for Android says "Sorry, there are no sync agents available". PCSecrets Sync on his phone says it's active, we're on the same network, I've made sure his PC firewall wasn't trying to block something, so am I missing something here? I basically set both phones up the same way, the rooted G2 ran perfectly, the stock S5 can't seem to find PCSecrets. I really love having my secrets on my PC and I know it will be a huge benefit to him as well. 

Chris Wood

unread,
Sep 18, 2014, 2:16:29 PM9/18/14
to secrets-f...@googlegroups.com
You caught me on vacation otherwise I'd have responded earlier...

No reports of this problem that I'm aware of.

Most likely the apps were installed in the wrong order. Secrets for Android *must* be installed first, then the sync agent. If the agent in installed first, the permission to access the unencrypted secrets is unknown to the Android system, and gets ignored. This is just the (unfortunate) way Android works. Without the permission, Secrets for Android will ignore the agent. I recently had the same issue when I bought a new Moto G. The Google migration process was smart enough to install the same apps as on my previous phone, but got the order wrong. You can check if this is the issue by using Settings -> Apps -> PCSecrets Sync to view the permissions - if "access unencrypted secrets" is missing then this is the problem.

It's easy to fix - just remove PCSecrets Sync and reinstall. Don't forget to start the sync app (you only need to do this once) - Android requires you to do this for security.

Full documentation on PCSecrets Sync can be viewed at http://pcssync.sourceforge.net/doc.html

Chris Wood

Brandon Snodgrass

unread,
Jan 11, 2015, 1:45:04 PM1/11/15
to secrets-f...@googlegroups.com
I just ran into the same issue with my new tab s.  Uninstalled sync and reinstalled it.  Problem solved.  Thanks!

Chris Wood

unread,
Jan 12, 2015, 2:55:03 AM1/12/15
to secrets-f...@googlegroups.com
Excellent!
Reply all
Reply to author
Forward
0 new messages