diimdeep / 1p2keepass Goto Github PK
View Code? Open in Web Editor NEW๐ 1Password (1pif) to ๐ KeePass 2.x plugin ๐
License: GNU General Public License v2.0
๐ 1Password (1pif) to ๐ KeePass 2.x plugin ๐
License: GNU General Public License v2.0
the latest version of 1password 7 doesn't support 1PIF files, it only support csv or txt. how can I handle it? thx
I have a strange crash on import whilst importing a Login record.
I have copied the 1PIF data below obviously removing sensitive data
{"uuid":"UUID VALUE", "createdAt":1461778322727, <-------------- This is bigger than usual! "updatedAt":1461778930, "title":"TITLE TEXT", "typeName": "webforms.WebForm", "securityLevel":"SL5", "openContents":{"contentsHash":"hashvalue","securityLevel":"SL5"}, "contentsHash":"hashvalue", "secureContents":{ "fields":[ {"name":"Username","designation":"username","value":"usernamevalue"}, {"name":"Password","designation":"password","value":"passwordvalue"} ], "notesPlain":"Some Text" } }
As you can see for some reason the createdAt is represented in Milliseconds, this results in a crash at
DateTimeExt at
dtDateTime = dtDateTime.AddSeconds(unixTimeStamp).ToLocalTime();
I have no idea why this export contains that value as all the others seemed to be OK but I applied this simple fix to DateTimeExt.cs FromUnixTimeStamp to resolve in my local copy and wanted to share it with you.
if (unixTimeStamp > 20000000000) { dtDateTime = dtDateTime.AddMilliseconds(unixTimeStamp).ToLocalTime(); } else { dtDateTime = dtDateTime.AddSeconds(unixTimeStamp).ToLocalTime(); }
If the value is < 20000000000 then a date up to 2603 can be supported, if greater than 20000000000 then it will assume Milliseconds and therefore an earliest date of Aug 1970.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.