-
-
Notifications
You must be signed in to change notification settings - Fork 947
UWP support? #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm active working on it. To considered it done, I'd like to perform tests on Windows Mobile 10. |
@drieseng As I understand there are two ways to make library for UWP: 1, you create a UWP library project in VS 2015; Both way, you will see .NET api you can call is reduced a lot. But as long as you do as above, there is no need to test it on real hardware to be confident it is done. I got a 735 which will be upgraded to 10, so I can help testing it. :) |
@drieseng just to say I got Win 10 on my 735 over the weekend, so ready to do testing. |
Hi, |
Sorry about that. I've started to move away from the (.NET Core) CoreFx libraries - as RC2 is still not available, and I still need to release a nuget for SshNet.Security.Cryptography. This is necessary because I moved some of our crypto stuff to a separate repo. Last week, I spent some time working on release automation. I'm sure to recover most of that time later, and at the same releasing new versions should become less of a burden. I'll make sure the development branch gets in a stable state this weekend. |
@drieseng Thank you! I would be happy if I can compile the source. |
I made a bad decision upgrading my dev machine to W10 build 14328. So I did not make as much progress as I hoped. |
Hm, what I am doing wrong? I try to compile the Project in VS2015 Update 2 and get nearly 35000 Errors (Int32 not found, System not found and so on)...Do you have any ideas? |
Can you check what version of the Microsoft ASP.NET and Web Tools you have installed ? I have version 14.1.20203.0. Also make sure you have at least version 3.4.0.798 of the NuGet Package Manager extension. Do you get any package restore errors ? |
I'll verify this later today, but I think I forgot to push my local changes :( |
Ok! I am waiting... ;-) |
I just pushed my changes, let me know if you have any issues building. |
Thank you a lot for your work! But there are still Errors (only 64 remaining).
UPDATE: Now I was able to build a library for UWP. |
I can confirm that the framework features toggles were not yet correct for UAP10/UWP. |
I resolved all problems and was able to create a library. A little UWP app was not able to connect to Ubuntu 15.10. In debug mode I saw that the server version was recognized but the connection was not established ("Client not connected"). Timeout was set to 30 seconds. But PuTTY is able to connect. UPDATE:
|
Yeah, just found out myself. Note that I still haven't been able to test with UWP. |
Ok, thank you. Do you need VirtualBox? What about Hyper-V or Azure? |
I don't necessarily need virtualbox, but that's what I chose to run my VM in. As for the issue you ran into: I doubt it's a problem in BigInteger. I'm more inclined to think we did a partial read from a socket. Can you reproduce it using a public SSH server ? |
Upgrading to a new W10 build and a daily build of VirtualBox fixed the VirtualBox issue. I've fixed the "BigInteger" problem - which was actually an issue in HashAlgorithmFactory.GenerateRandom(byte[]). If you can't wait that long, here's the fix: var buffer = Windows.Security.Cryptography.CryptographicBuffer.GenerateRandom((uint) data.Length);
System.Runtime.InteropServices.WindowsRuntime.WindowsRuntimeBufferExtensions.CopyTo(buffer, data); |
You made my day! The fix did it. But what is the significant difference between |
We were not passing the data byte array by reference, and as such CopyToByteArray was not initializing the byte array that was passed to the GenerateRandom(byte[]) method. You'll find a much better explanation here. |
I've now committed the fix, and corresponding unit tests. |
I tested 6 days long and there where no issues. But there are a lot of features disabled. Some features need CoreFX RC 2+. |
There are no SSH.NET features disabled at all for UWP. Example: Does that make things more clear for you ? |
I've just released SSH.NET 2016.0.0-beta1, which introduces support for UAP 10 / UWP. |
Hello i am having issue with SSH.net. I will really appreciate any advice: |
Pretty sure this is a security issue. What capabilities is your application requesting? |
First of all, big welcome to migrate to GitHub!
The question is, how much effort would take to make a version for UWP? Is it in the team's pipe line?
Best wishes.
The text was updated successfully, but these errors were encountered: