Re: [go-nuts] Warning for look alike Unicode characters

2021-06-14 Thread 'Bryan C. Mills' via golang-nuts
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 Mond

Re: [go-nuts] Warning for look alike Unicode characters

2021-06-14 Thread 'drc...@google.com' via golang-nuts
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, 20

Re: [go-nuts] Warning for look alike Unicode characters

2021-06-11 Thread Ian Lance Taylor
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

Re: [go-nuts] Warning for look alike Unicode characters

2021-06-11 Thread Delta
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 messag

Re: [go-nuts] Warning for look alike Unicode characters

2021-06-11 Thread Ian Lance Taylor
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_cha

[go-nuts] Warning for look alike Unicode characters

2021-06-09 Thread Delta
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 subs