Conversation
"auth_aes128_md5", "auth_aes128_sha1" add protocol
.gitmodules
Outdated
| [submodule "Library/ShadowPath/ShadowPath/shadowsocks-libev"] | ||
| path = Library/ShadowPath/ShadowPath/shadowsocks-libev | ||
| url = git@github.com:icodesign/shadowsocks-libev.git | ||
| url = Library/ShadowPath/ShadowPath/shadowsocks-libev.git |
There was a problem hiding this comment.
Something wrong here. It should be remote github url, not the local one.
Potatso/AppInitializer.swift
Outdated
| logglyLogger.logFormatter = formatter | ||
| DDLog.add(logglyLogger) | ||
| // let logglyLogger = LogglyLogger() // Loggy Logger | ||
| // logglyLogger.logglyKey = "107d98a8-c275-4369-a881-b36d3564c9ef" |
There was a problem hiding this comment.
What happens here. I think this PR should not involve touching too many thing. LogglyLogger can be left intact, and code before changed grabs api key from Info.plist nicely, no need to hardcoded.
I think this part should not be commented or removed out.
What's the problem you're facing if not commenting those lines?
There was a problem hiding this comment.
I don't know to use LogglyLogger. I had register an account in "loggly.com". I use customer token replace the logglyKey. But it had a connection error when I run Potatso. So I remove it.
There was a problem hiding this comment.
Today, I try again, It seems normally.
Suspending, posting logs to Loggly
2018-01-10 11:35:15.647177+0800 Potatso[1576:769317] Posting to Loggly: {"rawlogmessage":
There was a problem hiding this comment.
Is it working before before you made change? InfoInternal will grab API key from Info.plist automatically.
There was a problem hiding this comment.
Anyway, in future I think we can remove it as developer will build their own app and change API key anyway.
| HelpshiftCore.initialize(with: HelpshiftAll.sharedInstance()) | ||
| HelpshiftCore.install(forApiKey: HELPSHIFT_KEY, domainName: HELPSHIFT_DOMAIN, appID: HELPSHIFT_ID) | ||
| } | ||
| // func configHelpShift() { |
There was a problem hiding this comment.
I thought about removing HelpShift as well. I will see how we will proceed this i.e cherry pick commits, or else.
| response.result.error?.log("Fail to update ruleset details") | ||
| } | ||
| } | ||
| // API.updateRuleSetListDetail(uuidsArray) { (response) in |
There was a problem hiding this comment.
Just note, if you don't need any code, just remove it, no need to comment them out like this.
But we should include code in CloudSetManager as for later we will do #62 .
So I think, better to leave code in CloudSetManager.swift intact, not remove them yet.
There was a problem hiding this comment.
OK. Rarely used git. We use svn in out company. This is my first pull requests in github. it make some mistake.
| // very curious why grabbing value from Info.plist will result in cannot connect to VPN all the time | ||
| // it needs to be fixed like this as always | ||
| return @"group.io.wasin.potatso"; | ||
| return @"group.com.aiyuangong.Aiyuangong"; |
There was a problem hiding this comment.
I'm wondering what's the best approach for future going forward to allow contributors to contribute that it needs to change domain in order to successfully build like this. Without making changes to repo.
If you have any idea for best approach to do that, feel free to let me know.
BTW: Can you build the project by not changing the bundle id, or group identifier on your machine?
There was a problem hiding this comment.
No. I can't build without change bundle id. It seems to have to use paid apple developer when you use NetworkExtension.
There was a problem hiding this comment.
Ok, thank you for letting me know.
I will think about cleaner way not to pollute changes every time others push commit later.
PotatsoModel/Proxy.swift
Outdated
| "auth_sha1_v4", | ||
| "auth_aes128_md5", | ||
| "auth_aes128_sha1", | ||
| "auth_chain_a", |
There was a problem hiding this comment.
Can we remove these two lines for auth_chain_a and auth_chain_b as you said it doesn't support yet?
There was a problem hiding this comment.
Sorry. I forgot to remove it in this file.
|
Please ignore result from travis-ci, I'm not done with it yet. |
| - CallbackURLKit/Core (= 1.0.0) | ||
| - CallbackURLKit/Core (1.0.0) | ||
| - Cartography (1.0.1) | ||
| - Cartography (3.0.1) |
There was a problem hiding this comment.
Are you sure Cartogrphy 3.0.1 works with Potatso?
Did you try cleaning up the project before building? Thanks
There was a problem hiding this comment.
Yes, I had cleaning up before. no errors.
haxpor
left a comment
There was a problem hiding this comment.
More feedback regarding updating of dependencies.
|
Please ignore result from travis-ci, I'm not done with it yet. What's this? Where used? |
|
I had fix smoe mistake. But I can't create new pull requests. It remind this warning, "Can’t automatically merge. Don’t worry, you can still create the pull request." But I can't find any create pull reqest button |
|
It's ok, no need to create a new PR. Your new commits are updated with this same PR. |
Potatso/AppInitializer.swift
Outdated
| // logglyLogger.logFormatter = formatter | ||
| // DDLog.add(logglyLogger) | ||
| let logglyLogger = LogglyLogger() // Loggy Logger | ||
| logglyLogger.logglyKey = "107d98a8-c275-4369-a881-b36d3564c9ef" |
There was a problem hiding this comment.
Would you please change back to this logglyLogger.logglyKey = InfoInternal.shared.getLogglyAPIKey()?
Potatso/AppInitializer.swift
Outdated
|
|
||
| let logglyLogger = LogglyLogger() // Loggy Logger | ||
| logglyLogger.logglyKey = InfoInternal.shared.getLogglyAPIKey() | ||
| logglyLogger.logglyKey = "107d98a8-c275-4369-a881-b36d3564c9ef" |
There was a problem hiding this comment.
Could you please revert back to this logglyLogger.logglyKey = InfoInternal.shared.getLogglyAPIKey()?
| "auth_sha1_v4", | ||
| "auth_aes128_md5", | ||
| "auth_aes128_sha1", | ||
| // "auth_chain_a", |
There was a problem hiding this comment.
Please remove this line and below it.
getLogglyAPIKey from info.plist
|
can this support protocol_param? |

"auth_sha1_v4",
"auth_aes128_md5",
"auth_aes128_sha1"