[go-nuts] Re: gomobile: what's the right way to make widgets?

2018-10-29 Thread EricR
A cross-platform GUI library is perfectly doable and cross-platform applications work fine enough for most use cases. Purebasic, REALbasic (now Xojo), Lazarus/Freepascal, Qt for C++ and Python, WxWidgets, Ultimate++, IUP, Swing, etc., all offer more or less cross-platform functionality. I'm als

[go-nuts] Re: Strange problem with sql and mattn/go-sqlite3 driver

2018-10-22 Thread EricR
Sorry, the uncommented "todo not working" was left in by me so it wouldn't compile. It won't work when I fix that either, of course. func getListField(db *sql.DB, table string, item string, field string) ( > string, error) { > tableName := listFieldToTableName(table, field) > if !TableExi

[go-nuts] Strange problem with sql and mattn/go-sqlite3 driver

2018-10-22 Thread EricR
Hi! It seems that the driver sometimes does not return an error if a column is null and I scan for s string, but instead returns the column name. I have to explicitly use the following function to test for null. func FieldIsNull(db *sql.DB, table string, item string, field string) bool { var

Re: [go-nuts] Re: Command line password manager using AES symmetric key encryption, Argon2 KDF, Key-Agent and Keepass importer

2018-10-16 Thread EricR
6 PM UTC+1, robert engels wrote: > > If the user has the ability to read the page file - i.e. root - then he > also has the ability to use the debugger to inspect the live memory as well > - so as the OP pointed out - if root is compromised - nothing is secure. > > On Oct 15, 201

Re: [go-nuts] Re: Command line password manager using AES symmetric key encryption, Argon2 KDF, Key-Agent and Keepass importer

2018-10-15 Thread EricR
ic, > >> > >> thanks *a lot* for your valuable feedback! I really appreciate it. See > comments inline: > >> > >> Am Montag, 15. Oktober 2018 12:09:32 UTC+2 schrieb EricR: > >>> > >>> Since you're looking for opinions on

[go-nuts] Re: Command line password manager using AES symmetric key encryption, Argon2 KDF, Key-Agent and Keepass importer

2018-10-15 Thread EricR
Since you're looking for opinions on the security concept, two questions spring immediately to my mind: 1. Does the daemon keep the sensitive data in locked memory that cannot be paged out? If so, how cross-platform is this? 2. How does the client communicate securely with the daemon? Which en

[go-nuts] Traverse directory without infinite loops while following links

2018-10-04 Thread EricR
Hi! I'm new to Go and need to do something with each file in directories. Symlinks need to be followed. I've tried filepath and a few popular libraries and they either crash with segfaults on my system, do not follow symlinks or do not prevent infinite loops. Is there a directory walking librar