Mingshen Sun
f2ab400f4b
Support Steam OTP ( #505 )
2021-09-06 10:47:04 -07:00
Danny Mösch
3eb131b65d
Fix file headers ( #494 )
2021-08-27 22:32:31 -07:00
Danny Moesch
0317f5a83b
Enable SwiftLint rule 'trailing_closure' and fix all violations
2020-08-28 16:42:30 -07:00
Danny Moesch
7f9f0e43b2
Format code with SwiftFormat automatically in every build
2020-08-25 15:10:13 -07:00
Danny Moesch
4c2693e2c7
Name classes/structs consistently
2020-04-19 13:42:41 -07:00
Mingshen Sun
fcc8961e46
Fix fail-safe mechanism for other decryption scenarios
2020-04-18 22:42:25 -07:00
Danny Moesch
a5bc60bf58
Do not assume lowercased OTP keywords
2020-01-18 15:01:05 -08:00
Danny Moesch
a2edf41d33
Update SwiftyUserDefaults to current version 5.0.0
2020-01-01 19:03:04 -08:00
Danny Moesch
b60ce3b003
Fix #340 : Always end password entries with a newline
2019-12-10 22:03:49 -08:00
Meris Bahtijaragic
c59c72729b
Get username from filepath. ( #265 )
2019-05-17 23:30:41 +08:00
Danny Moesch
1b4040135e
Localize strings in code
2019-01-20 21:04:04 -08:00
Danny Moesch
64956c6643
Simplify code
2018-12-18 10:06:45 -08:00
Mingshen Sun
ed387069a4
lint: delete trailing whitespaces
2018-12-09 16:59:07 -08:00
Danny Moesch
5780a439db
Show number of hidden fields in password view
2018-12-08 21:15:51 -08:00
Danny Moesch
68dd60fb8e
Introduce utility methods to test for unknowns and OTP keywords
2018-12-08 21:15:51 -08:00
Danny Moesch
3cc7510b29
Ignore case of OTP keywords when deciding whether to hide them
2018-12-05 12:59:04 -08:00
Danny Moesch
cfb50276bc
Add description field to OtpType
2018-12-05 12:59:04 -08:00
Danny Moesch
469451b7b7
Move parts of the documentation into the TokenBuilder class
2018-12-05 12:59:04 -08:00
Danny Moesch
2e744a760f
Introduce TokenBuilder to build up OTP tokens conveniently
2018-12-05 12:59:04 -08:00
Danny Moesch
d4d8d7267a
Tweak Password class
2018-12-05 12:59:04 -08:00
Danny Moesch
3cd8df310c
Introduce enum for password generator flavour
2018-12-05 12:59:04 -08:00
Danny Moesch
1f57305203
Use constants for otp_* and other related strings
2018-12-05 12:59:04 -08:00
Bob Sun
b152d7e1e9
Cleanup unneccessary print
2018-11-16 23:08:35 -08:00
Danny Moesch
7c12263458
Separate parser and helpers from Password class for better testability
2018-11-11 11:30:39 -08:00
Bob Sun
2abbceb2e9
Set name and url in Password non-optional
...
Name and url in Password class shouldn't be optional because we store
them in core data as non-optional. This change also help us to avoid
man unneccessary unwrap.
2018-11-10 22:38:12 -08:00
Yishi Lin
1ab70cf6d7
Move codes from utils to password and passwordstore
2018-09-23 22:00:06 +08:00
Danny Moesch
ddddfda931
Use own parser for multiline values giving up Yams
2018-08-13 23:12:30 -07:00
Danny Moesch
904d04d71c
Use computed properties instead of separate getter methods
2018-08-13 23:12:30 -07:00
Danny Moesch
f76721d7fe
Simplify/Tweak Password.swift
2018-08-13 23:12:30 -07:00
Danny Moesch
b7a0cbaef6
Animate "AdditionField" struct to avoid usage of tuple "(String, String)"
2018-08-13 23:12:30 -07:00
Yishi Lin
89a2018e89
Fix a bug of showing digital entries
2018-05-21 01:28:00 +08:00
Yishi Lin
867a59b513
Keep the first line as the password even if it is empty
2018-04-07 00:39:56 +08:00
Yishi Lin
3ffbf68ab8
Avoid crash during yaml parsing
2018-04-07 00:17:00 +08:00
Yishi Lin
54c7acf651
Check duplicated tags before parsing a file as yaml
2018-04-07 00:16:28 +08:00
Danny Moesch
3a0e6fa3f6
Consider OTP tokens as possible lines in password files
2018-03-17 20:56:55 -07:00
Danny Moesch
673aee1e7a
Protect YAML parser against empty input string
2018-03-17 20:56:55 -07:00
Danny Moesch
69bafeb672
Introduce class constants for the strings "otpauth" and "otpauth://"
2018-03-17 20:56:55 -07:00
Danny Moesch
caa5ce77a3
Use YAML library to parse password files
2018-03-17 20:56:55 -07:00
Bob Sun
f5f9fe505b
Port to Swift 4
2017-10-09 22:14:48 -07:00
Yishi Lin
f00f6c77b0
Fix issue #13 ( Additions display randomly)
2017-07-27 13:19:58 +08:00
Yishi Lin
39820a4108
Look for "login" as a username field in auto fill
...
- Will look for "username" first
2017-06-28 00:32:50 +08:00
Yishi Lin
69b58e686d
Polish the Password class
...
- About "additions", remove "additionKeys"
2017-06-28 00:18:06 +08:00
Yishi Lin
d2ba620ae4
Move codes to an embed framework
...
- Move bundle/group identifiers to passKit/Global
- Fix Core Data
- Change Defaults to SharedDefaults
2017-06-13 11:43:46 +08:00