ribbons / TaskerRsync

An Android app providing Tasker plugin actions to allow running rsync over SSH.
https://nerdoftheherd.com/projects/rsync-for-tasker/
GNU General Public License v3.0
18 stars 1 forks source link

Generate Pukey is Blank #229

Closed canedmonkey closed 2 days ago

canedmonkey commented 1 week ago

Hi,

I have a Task which runs Generate Private Key (2048,RSA,True), then get Get Public Key and finally Write File which writes %pubkey to file.

The Task runs without error but the file contains no key, only '%pubkey' which suggests the variable is empty.

Without an error, I have no way of knowing what's going wrong. Is there another way I can check what values are being generated in the Generate/Get actions?

Thanks

ribbons commented 1 week ago

There isn't any more information returned about what the steps have generated but (at least in theory) if anything does go wrong during the private key generation or fetching the public key from it, both should return errors.

If you look at the device logs with logcat (via adb), there are messages written before or after running dropbearkey each time which might provide extra clues if there is a bug, otherwise I'd double check the file output task and maybe get the output from some other means to rule that step out of the equation.

ribbons commented 5 days ago

Was there anything else you needed from me on this one or some further details you can share from your investigations?

StupidNamez commented 2 days ago

Hi, sorry for the delay. You can close this. It was a much wider issue caused by my s9 and lineageos not getting on together. Thanks for your help.

ribbons commented 2 days ago

Okay, no worries - cheers for the update :+1: