Re: [go-nuts] Warning for look alike Unicode characters
See also: https://golang.org/issue/20115 (proposal: cmd/vet: detect homograph attacks) https://golang.org/issue/20209 (proposal: spec: disallow LTR/RTL characters in string literals?) https://golang.org/issue/20210 (proposal: spec: disallow unicode import paths to avoid punycode attacks) On Monday, June 14, 2021 at 10:15:16 AM UTC-4 drc...@google.com wrote: > I was going to ask, "how do they define/measure that?", decided to look at > the Rust code, and found > http://www.unicode.org/Public/security/10.0.0/confusables.txt > So there's a defined source and everything. > > On Friday, June 11, 2021 at 5:48:05 PM UTC-4 Ian Lance Taylor wrote: > >> On Fri, Jun 11, 2021 at 2:32 PM Delta wrote: >> > >> > Jun 12, 2021 3:00:01 AM Ian Lance Taylor : >> > >> > > Which context do you mean? You said "the Go tool." Do you mean >> > > something in the tool, or do you mean something in the language? >> > > >> > > For the tool, when does this come up? >> > >> > I don't know why I wrote this. I saw somewhere a post on rustc giving >> > help message in case error was produced due to use of look alike Unicode >> > characters like Greek question mark in place of ; >> > >> > I thought that is cool. >> > >> > I am sorry. >> >> No need to apologize. It's an interesting idea. There is nothing >> similar in Go today. >> >> Ian >> > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/b79ffa60-962c-4983-92ea-02e2b8954040n%40googlegroups.com.
Re: [go-nuts] Warning for look alike Unicode characters
I was going to ask, "how do they define/measure that?", decided to look at the Rust code, and found http://www.unicode.org/Public/security/10.0.0/confusables.txt So there's a defined source and everything. On Friday, June 11, 2021 at 5:48:05 PM UTC-4 Ian Lance Taylor wrote: > On Fri, Jun 11, 2021 at 2:32 PM Delta wrote: > > > > Jun 12, 2021 3:00:01 AM Ian Lance Taylor : > > > > > Which context do you mean? You said "the Go tool." Do you mean > > > something in the tool, or do you mean something in the language? > > > > > > For the tool, when does this come up? > > > > I don't know why I wrote this. I saw somewhere a post on rustc giving > > help message in case error was produced due to use of look alike Unicode > > characters like Greek question mark in place of ; > > > > I thought that is cool. > > > > I am sorry. > > No need to apologize. It's an interesting idea. There is nothing > similar in Go today. > > Ian > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/115d0585-b066-41c5-8d01-e3c638347c98n%40googlegroups.com.
Re: [go-nuts] Warning for look alike Unicode characters
On Fri, Jun 11, 2021 at 2:32 PM Delta wrote: > > Jun 12, 2021 3:00:01 AM Ian Lance Taylor : > > > Which context do you mean? You said "the Go tool." Do you mean > > something in the tool, or do you mean something in the language? > > > > For the tool, when does this come up? > > I don't know why I wrote this. I saw somewhere a post on rustc giving > help message in case error was produced due to use of look alike Unicode > characters like Greek question mark in place of ; > > I thought that is cool. > > I am sorry. No need to apologize. It's an interesting idea. There is nothing similar in Go today. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcXXzBbyxpoSiJ%3DRM%3DjrBzg0kHGJCYpJeucd4QqWcyt2rw%40mail.gmail.com.
Re: [go-nuts] Warning for look alike Unicode characters
Jun 12, 2021 3:00:01 AM Ian Lance Taylor : Which context do you mean? You said "the Go tool." Do you mean something in the tool, or do you mean something in the language? For the tool, when does this come up? I don't know why I wrote this. I saw somewhere a post on rustc giving help message in case error was produced due to use of look alike Unicode characters like Greek question mark in place of ; I thought that is cool. I am sorry. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/b8ca0ab9-8db1-4dde-9c7d-713fd0586ce3%40gmail.com.
Re: [go-nuts] Warning for look alike Unicode characters
On Wed, Jun 9, 2021 at 2:29 PM Delta wrote: > > Does the Go tool has any warning system for look alike Unicode > characters. > > http://www.unicode.org/Public/security/10.0.0/confusables.txt > > > In rustc - > https://github.com/rust-lang/rust/blob/master/compiler/rustc_parse/src/lexer/unicode_chars.rs Which context do you mean? You said "the Go tool." Do you mean something in the tool, or do you mean something in the language? For the tool, when does this come up? For the language there is some relevant discussion in https://golang.org/issue/20706. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcX_PQ%3DchJEB8Xvqy-NT1DFeqOeMxig8xUrVdjzTKUjHKw%40mail.gmail.com.
[go-nuts] Warning for look alike Unicode characters
Does the Go tool has any warning system for look alike Unicode characters. http://www.unicode.org/Public/security/10.0.0/confusables.txt In rustc - https://github.com/rust-lang/rust/blob/master/compiler/rustc_parse/src/lexer/unicode_chars.rs -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/4cf5df6e-449c-4d80-be7b-5c6955e98b17%40gmail.com.